Categories

Oct 18, 2019 in C Sharp (C#)
Q: What is the difference between “continue” and “break” statements in C#?

1 Answer

Oct 18, 2019
“continue” statement is used to pass the control to next iteration. This statement can be used with – “while”, “for”, “foreach” loops.

“break” statement is used to exit the loop.
Click here to read more about C Sharp
Click here to read more about Insurance

Related questions

Madanswer
May 6 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
...