TrimExcess()

List::TrimExcess() method

Makes list capacity to fit its size.

void System::Collections::Generic::List<T>::TrimExcess()

See Also