C# Ques and Answers
Thursday, 31 March 2016
What is the difference between “continue” and “break” statements in C#?
“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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment