If you step through your code you will see it is more efficient.
instead of forcing the compiler and your run time to compare your string values, the switch case jumps to the correct case...
I think this is what you are asking.
If you step through your code you will see it is more efficient.
instead of forcing the compiler and your run time to compare your string values, the switch case jumps to the correct case...
I think this is what you are asking.