Microsoft.Samples.Collections

Heap.GetEnumerator Method 

Returns an enumerator that can iterate through the heap in an unordered fashion.

public virtual IEnumerator GetEnumerator();

Return Value

an enumerator that can iterate through a heap

See Also

Heap Class | Microsoft.Samples.Collections Namespace