Tag Archives: break statement

C#: Why default fall-through in switch statement is not allowed?


I was working on this particular piece of logic which I saw as a multiple sieve like structure. An if-else statement which would check the value of a number and based on the value, it would also execute the code for all the values less than it. … Continue reading

Posted in Misc | Tagged , , | Leave a comment