Remove()

List::Remove(const T&) method

Removes first instance of specific item from list.

bool System::Collections::Generic::List<T>::Remove(const T &item) override

Arguments

ParameterTypeDescription
itemconst T&Item to remove.

Return Value

True if item was found and removed, false otherwise.

See Also