less than sign in switch case c# code example
Example 1: c# switch case with or condition
int i = 5;
switch (i)
{
case(1):
case(2):
Console.WriteLine(i);
break;
default:
break;
}
Example 2: program using if statement in c whether numnber is less eqaul to greater than 50
program using if statement in c whether number is less equal to greater than 50