19
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int caseSwitch = 1;
8
switch (caseSwitch)
9
{
10
// The following switch section causes an error.
11
case 1:
12
Console.WriteLine("Case 1...");
13
// a jump statement is needed here
14
case 2:
15
Console.WriteLine("... and/or Case 2");
16
break;
17
}
18
}
19
}
Cached Result