//called: switch expressions
int number= 2;
string result = number switch
{
0 => "zero",
1 => "one",
2 => "two",
_ => "default"
};
Console.WriteLine(result);
switch(expression) {
case value1:
statement(s)
break;
case value2:
statement(s)
break;
/* you can give any number of cases */
default:
statement(s)
}