Method GetHashCode GetHashCode() A hash used for comparisons. Declaration public override int GetHashCode() Returns Type Description Int32 A unique hash code. Overrides ValueType.GetHashCode()