TrimToSize;
The TrimToSize method sets array size equal to actual number of elements in the array.
After calling the Capacity method, an array size is set in accordance with actual number of elements in the Count array.
See also:
IArrayList