0
10
llucycodes42
This code will execute the code inside the case statement if the value is equal to value1, and it will break out of the switch statement if any other value is input.
Shortcut: switch
switch (value)
{
case value1:
break;
default:
break;
}