ValueType::GetHashCode Method
Returns the hash code for this instance.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
The GetHashCode method applies to types derived from ValueType. One or more fields of the derived type is used to calculate the return value. If you call the derived type's GetHashCode method, the return value is not likely to be suitable for use as a key in a hash table. Additionally, if the value of one or more of those fields changes, the return value might become unsuitable for use as a key in a hash table. In either case, consider writing your own implementation of the GetHashCode method that more closely represents the concept of a hash code for the type.
For more information, see Object::GetHashCode.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.