The break statement terminates the loop in which it exists. It also changes the flow of the execution of a program.
In switch statements, the break statement is used at the end of a case statement. The break statement is mandatory in C# and it avoids the fall through of one case statement to another.
Liked By
Write Answer
What does a break statement do in switch statements?
Join MindStick Community
You have need login or register for voting of answers or question.
Sumit Kesarwani
13-Nov-2013The break statement terminates the loop in which it exists. It also changes the flow of the execution of a program.
In switch statements, the break statement is used at the end of a case statement. The break statement is mandatory in C# and it avoids the fall through of one case statement to another.