View Single Post
  #3 (permalink)  
Old December 9th, 2005, 08:28 PM
Doknjas Doknjas is offline
Authorized User
Join Date: Feb 2004
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts

This is mainly to be consistent with C and C++, and to avoid confusion for programmers from that background. Strictly speaking, it should not be necessary.

Also, be aware that C# switches do allow fall-through for empty cases:
switch (x)
  case 1:
  case 2: