Insert()

List::Insert(int, const T&) method

Inserts item at specified position.

void System::Collections::Generic::List<T>::Insert(int index, const T &item) override

Arguments

ParameterTypeDescription
indexintIndex to insert item into.
itemconst T&Item to insert.

See Also