concept GetHashCode() in category software development

appears as: GetHashCode()
Street Coder

This is an excerpt from Manning's book Street Coder.

Dictionaries allocate a much smaller array instead and rely on their distribution. Instead of looking up the hash value they look up “hash value mod (array length – 1)”. Let’s say that a dictionary with the key of integers allocates an array of six items to keep an index for them, and the GetHashCode()method for an integer would just return its value.