Microsoft.Samples.Collections.Heap.Extract Function
Extract returns the highest value object from the heap
Public object Extract ()
Return
Description
object
The highest value object from the heap
Remarks:
The highest value is defined as the highest that would be returned by sorting using the IComparer provided at construction time or else the system default Comparer.
This implementation uses the locale-sensitive default comparer.