List()

List::List() constructor

Creates empty list.

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

List::List(int) constructor

Creates list with pre-defined capacity.

System::Collections::Generic::List<T>::List(int capacity)

Arguments

ParameterTypeDescription
capacityintNumber of elements to reserve.

List::List(IEnumerablePtr) constructor

Copy constructor.

System::Collections::Generic::List<T>::List(IEnumerablePtr collection)

Arguments

ParameterTypeDescription
collectionIEnumerablePtrCollection to copy data from.

See Also