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