The `break` statement terminates the enclosing loop or switch statement in which it appears. The control is passed to the statement that follows the loop or the switch block.
In the first example, when the value of i is 3, the break statement is executed, which causes the execution of the loop to be terminated.
In the second example, a break statement is included at the end of each case. This executes the statements in the case without continuing to the next case. Without the break statement, the program would continue to execute the next case and would not function as intended.
## Example
```
switch (exampleVariable)
{
case 1:
Console.WriteLine("case 1");
Console.WriteLine("This only shows in example 1");