Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# switch Gripe
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01370558
Message ID:
01370559
Views:
29
>Why in the world must a switch statement need an integer???
>
>Other languages are much more flexible in their CASE structures, so why would MS restrict the evaluation of the switch to an int????

Why do you think so?

Switch statement

Switch can use different types.

Another example
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform