in C Sharp by
What is the difference between “continue” and “break” statements in C#?

► Click here to show 1 Answer

0 votes
“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.
Learn More with Madanswer

Related questions

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma