Skip Navigation

Switch statement fallthrough in C#?

stackoverflow.com Switch statement fallthrough in C#?

Switch statement fallthrough is one of my personal major reasons for loving switch vs. if/else if constructs. An example is in order here: static string NumberToWords(int number) { string[] nu...

Switch statement fallthrough in C#?
9
9 comments
9 comments