great example !! I agree with above statement !!

2 Users have rated as useful.
Login to rate this answer.
sunil mittal
Answered On : Jul 6th, 2007
switch (x) {
case 1:
Console.WriteLine("1");
Console.Read();
break;
case 2:
Console
.WriteLine("2");
Console.Read();
break
; default :
Console
.WriteLine("default");
Console.Read();
break
; }
This will work

1 User has rated as useful.
Login to rate this answer.
jitendra kumar
Answered On : Jul 10th, 2007
This is right that this example works, but it is not related to fall through.
Fall through means if you didn't write any statement in case 0, control automatically go to next case, which is not supported by c#, and we need to use goto statement to send control to next case.
Login to rate this answer.
Rashmita
Answered On : Jul 19th, 2007
Verytrue ..
You have to write goto statement within the case to transfer the flow to the next switch case block..
Login to rate this answer.
Actually in C# if we use switch case then according to the value of the switch variable the pointer will move to that desired case. But it is not possible that if you are not writing anything in case 0: then the pointer will not move to the second case.
Login to rate this answer.
c# switch allows fall through if and only if in empty case. as long as there is a statement in the case it must use break or go to to jump out of the case.

2 Users have rated as useful.
Login to rate this answer.
Most of the other answers are right, but there is a caveat.
Empty cases are allowed to fall through. However, the last case statement always needs a break - empty or not.

1 User has rated as useful.
Login to rate this answer.
Folks:
Empty cases allowed to fall through in C#.
Login to rate this answer.