Login
Remember
Register
Ask a Question
What is the difference between “continue” and “break” statements in C#?
0
votes
asked
Oct 18, 2019
in
C Sharp
by
Robin
What is the difference between “continue” and “break” statements in C#?
continue-c#
break-c#
c#-break
c#-continue
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 18, 2019
by
rajeshsharma
“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.
...