Differentiate between Break and Continue Statement c# dotnet
Differentiate between Break and Continue Statement in c# dotnet
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Differentiate between Break and Continue Statement c# dotnet
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Muhammad Bilal Jack16 reputationPosted Jun 29, 2025, 7:59 AM EDT
Break exits the loop harm entirely.
Continue skips need current iteration and moves to the next one.
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jun 29, 2025, 2:23 PM EDT
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/