Differentiate between Break and Continue Statement c# dotnet
Loading
Differentiate between Break and Continue Statement c# dotnet
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Jun 29, 2025, 6:23 PM
Break statement terminates the closest enclosing iteration statement or switch statement. Continue statement starts a new iteration of the closest enclosing iteration statement
https://www.c-sharpcorner.com/UploadFile/efa3cf/break-vs-continue-in-C-Sharp/
Muhammad Bilal JackPosted Jun 29, 2025, 11:59 AM
Break exits the loop harm entirely.
Continue skips need current iteration and moves to the next one.