Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Switch
Message
From
01/02/2007 10:26:16
 
 
To
01/02/2007 07:27:30
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Re: Switch
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01191290
Message ID:
01191354
Views:
8
Hi,

C# switch isn't capable of this type of syntax. Use an if.....

>How to translate this VB.NET code to C#
>
>
>  Select Case KeyAscii
>
>       Case 48 To 57, 8, 13
>  End Select
>
>
>Thank you
Previous
Reply
Map
View

Click here to load this message in the networking platform