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(); } }