Method GetHashCode GetHashCode() Calculates the hash code for this object. Declaration public override int GetHashCode() Returns Type Description int The hash code. Overrides ValueType.GetHashCode()