Why does the C# compiler optimize string switch statements differently from integer switch statements for performance?
I have two methods in C# that use switch
expressions, one working with integers and the other with strings:
I have two methods in C# that use switch
expressions, one working with integers and the other with strings: