Microsoft.Samples.Collections.Heap.Heap Function
Construct a heap specifying an object to perform comparisons between heap members and a dynamic allocation size.

Public void Heap (System.Collections.IComparer, int)
  Type Name Description  
    System.Collections.IComparer comparer An object to perform comparisons between heap members.  
    int incrementSize The amount to increase and decrease the heap's storage by.  
  Return Description  
    void    
Other overloads:
Microsoft.Samples.Collections.Heap.#ctor() Microsoft.Samples.Collections.Heap.#ctor(IComparer) Microsoft.Samples.Collections.Heap.#ctor(SerializationInfo,StreamingContext)
Remarks:
When the heap runs out of storage it will allocate more in chunks sized at incrementSize multiplied by the storage size of object.

When elements are removed from the heap, if it has too much stoarge by the amount incrementSize it will discard it.