19
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int x = 125;
8
9
switch (x % 2)
10
{
11
case 0:
12
Console.WriteLine($"{x} is even value");
13
break;
14
case 1:
15
Console.WriteLine($"{x} is odd Value");
16
break;
17
}
18
}
19
}
Cached Result
2021-10-13T13:00:00+00:00