Returns an enumerator that can iterate through the heap in an unordered fashion.
an enumerator that can iterate through a heap
IEnumerable.GetEnumerator
Heap Class | Microsoft.Samples.Collections Namespace