Question related to break statements
Why we use continue statement in csharp
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Sep 21, 2011, 4:20 AM
Sometimes you may want to do this rather than carry on with the current iteration.
Whilst it's always possible to program without it, when used judiciously, it can make your program easier to understand by reducing the amount of code which needs to be nested in 'if' or 'switch' statements.
Posted Sep 21, 2011, 12:46 AM
Output :
9 10