I usually create enums that I switch on, because code complete creates all the possible switch cases for me. Now with enums you can only assign "integer" types (byte, ushort, short,int, uint, etc.)
>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????
Semper ubi sub ubi.