Last Updated: February 25, 2016
·
720
· carlosnasillo

Normalizing Strings in C#

From CLR via C# book:

When normalizing strings, it is highly recommended that you use ToUpperInvariant instead of ToLowerInvariant because Microsoft has optimized the code for performing uppercase comparisons.