PriorityQueueTCount Property |
Namespace: Ookii.Collections.Generic
Capacity is the number of elements that the PriorityQueueT can store before resizing is required, while Count is the number of elements that are actually in the PriorityQueueT.
Capacity is always greater than or equal to Count. If Count exceeds Capacity while adding elements, the capacity is increased by automatically reallocating the internal array before copying the old elements and adding the new elements.
Retrieving the value of this property is an O(1) operation.