System::Collections::Generic::List::List constructor

List::List() constructor

Creates empty list.

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

See Also

List::List(IEnumerablePtr) constructor

Copy constructor.

System::Collections::Generic::List<T>::List(IEnumerablePtr collection)
ParameterTypeDescription
collectionIEnumerablePtrCollection to copy data from.

See Also

List::List(int) constructor

Creates list with pre-defined capacity.

System::Collections::Generic::List<T>::List(int capacity)
ParameterTypeDescription
capacityintNumber of elements to reserve.

See Also