private IEqualityComparer ( Object obj ) : int | ||
obj | Object | |
return | int |
int IEqualityComparer.GetHashCode(Object obj)
{
string s = obj as string;
if (s == null)
throw new ArgumentException(null, nameof(obj));
return CultureInfo.CurrentCulture.TextInfo.ToUpper(s).GetHashCode();
}
}
CaseInsensitiveKeyComparer::IEqualityComparer ( Object x, Object y ) : bool |