• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in C Sharp by
Q:
What is the difference between “continue” and “break” statements in C#?

1 Answer

0 votes
by
“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.

Related questions

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma
0 votes
asked Oct 18, 2019 in C Sharp by Robin
...