Method GetHashCode GetHashCode() Computes a hash code from all properties suitable for use in a Dictionary or HashSet. Declaration public override int GetHashCode() Returns Type Description int Returns a hashcode of this object. Overrides ValueType.GetHashCode()