---
title: "What does a break statement do in switch statements?"  
description: "What does a break statement do in switch statements?"  
author: "Sumit Kesarwani"  
published: 2013-11-13  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/1825/what-does-a-break-statement-do-in-switch-statements  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What does a break statement do in switch statements?

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.

## Answers

### Answer by Sumit Kesarwani

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.


---

Original Source: https://www.mindstick.com/interview/1825/what-does-a-break-statement-do-in-switch-statements

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
