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