// Converts a character to upper-case for invariant culture. public static char ToUpperInvariant(char c) => TextInfo.ToUpperInvariant(c);