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