W3bbo said:

Simplying the C# switch statement would be nice, the 'break' statement is redundant.

 

But don't we have these threads all the time thesedays?

Is break redundant? Does the C# switch statement support multiple cases like VB's does? Otherwise, I'd still want the power to fall down into the next case.

 

 

Select Case someFlag

   Case specialFlag

      'some code

   Case normalFlag, otherFlag

      'other code

End Select

 

switch(someFlag)

{

   case specialFlag:

      //some code

      break;

   case normalFlag:

   case otherFlag:

      //other code

      break;

}