Method GetHashCode GetHashCode() Returns the hash code for this instance. Declaration public override int GetHashCode() Returns Type Description int An integer that is the hash code for this instance. Overrides ValueType.GetHashCode()