Method GetHashCode GetHashCode() Returns a hash code for the int2. Declaration public override int GetHashCode() Returns Type Description int The computed hash code. Overrides ValueType.GetHashCode()