The gethash Code method a hash code is a numeric value that is used to insert and identify an object in a hash-based collection Dictionary<TKey, Tvalue> class Hashtable class or algorithms that need quick checks of object equality You should not assume that equal hash codes imply object equality.The GetHashCode method • A hash code is a numeric value that is used to insert and identify an object in a hash-based collection • Dictionary<TKey, TValue> class, • Hashtable class • For algorithms that need quick checks of object equality. You should not assume that equal hash codes imply object equality