public static bool CaselessEquals(this string str, string reference) { return str.Equals(reference, StringComparison.InvariantCultureIgnoreCase); }