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.
Project CorLib Overview
Class ArrayList Overview