HashSet<T>.Enumerator Methods

The HashSet<T>.Enumerator generic type exposes the following members.

  Name Description
Public method Dispose Releases all resources used by a HashSet<T>.Enumerator object.
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveNext Advances the enumerator to the next element of the HashSet<T> collection.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

  Name Description
Explicit interface implemetation Private method IEnumerator.Reset Sets the enumerator to its initial position, which is before the first element in the collection.

Community Additions