Thank you for the replies. It's good to know that switch on string can be used and it will be optimized! Discoveries like this can also give people confidence in the performance of C# and .NET in general.
↧