Method GetHashCode GetHashCode() Computes a hashcode to support hash-based collections. Declaration public override int GetHashCode() Returns Type Description int The computed hash. Overrides ValueType.GetHashCode()