No, the "to" clause is not supported in C#.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"matthew custer" <matthew
(E-Mail Removed)> escribió en el
mensaje news:61DAC788-E1C0-4A98-89FD-(E-Mail Removed)...
> In VB I can have a switch statement with a
>
> Case 1 to 5
>
> in C# it seems I have to have
> Case 1:
> Case 2:
> Case 3:
> Case 4:
> Case 5:
>
> is there a short cut in C# similar to the VB to have multiple cases
> handled
> by the one result?
>
>