KeyEqualityComparer<TSource,TKey>.GetHashCode method

Serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table.

public override int GetHashCode(TSource obj)
parameter description
obj The object for which to get a hash code.

Return Value

A hash code for the specified object.

Exceptions

exception condition
ArgumentNullException The type of obj is a reference type and obj is null.

See Also