I\'m wondering what the correct way to compare two characters ignoring case that will work for all cultures. Also, is Comparer.Default the best way
Comparer.Default
Using the default (that is not the invariant) culture:
if (char.ToLower(ch1) == char.ToLower(ch2)) { .... }
Or specify a culture:
CultureInfo myCulture = ...; if (char.ToLower(ch1, myCulture) == char.ToLower(ch2, myCulture)) { .... }