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