Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC#custom equality IComparerSingle-choice MCQ

For a Dictionary<TKey, TValue> with a custom IEqualityComparer<TKey>, what is the relationship that GetHashCode and Equals must satisfy?

// custom IEqualityComparer<string> for case-insensitive keys