Returns a value indicating the number of objects in the heap. Read-only
the number of objects in the heap
ICollection.Count
Heap Class | Microsoft.Samples.Collections Namespace