37
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int j = 5;
8
9
switch (j)
10
{
11
case 5:
12
Console.WriteLine(5);
13
switch (j - 1)
14
{
15
case 4:
16
Console.WriteLine(4);
17
switch (j - 2)
18
{
19
case 3:
20
Console.WriteLine(3);
21
break;
22
}
23
break;
24
}
25
break;
26
case 10:
27
Console.WriteLine(10);
28
break;
29
case 15:
30
Console.WriteLine(15);
31
break;
32
default:
33
Console.WriteLine(100);
34
break;
35
}
36
}
37
}
Cached Result
Compilation error (line 12, col 0): 'If' must end with a matching 'End If'.
Compilation error (line 12, col 0): ')' expected.
Compilation error (line 12, col 0): ')' expected.