Which is generally best to use — StringComparison.OrdinalIgnoreCase or StringComparison.InvariantCultureIgnoreCase?
Newer .Net Docs now has a table to help you decide which is best to use in your situation. From MSDN’s “New Recommendations for Using Strings in Microsoft .NET 2.0” Summary: Code owners previously using the InvariantCulture for string comparison, casing, and sorting should strongly consider using a new set of String overloads in Microsoft … Read more