ArrayList: TrimToSize |
Sets the capacity to the number of items in the list.
Public Sub TrimToSize ( )
This will decrease the size of the internal array. This can save memory if you know that no more items will be added to the list.
Class ArrayList Overview ArrayList Properties ArrayList Methods ToString Version (get)