Let\'s say I have two strings: a and b. To compare whether a and be have the same values when case is ignored, I\'ve always used:
// (Assume a and b have bee
Another MSDN article that provides some DOs and DON'Ts and recommendations for what comparison method to use in various cases: New Recommendations for Using Strings in Microsoft .NET 2.0