String comparisons
At one of the blogs I most frequent there was a post asking, “Where is the bug?”. In the comments section it was mentioned, Use ToUpperInvariant rather than ToLowerInvariant when normalizing strings for comparison. Sure enough if you go to the Microsoft page on it, it says Use the String.ToUpperInvariant method instead of the String.ToLowerInvariant […]
. Read more