>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 statementSwitch can use different types.
Another example
If it's not broken, fix it until it is.
My Blog