Contains()

List::Contains(const T&) const method

Checks if item is present in list.

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

Arguments

ParameterTypeDescription
itemconst T&Item to look for.

Return Value

True if item is found, false otherwise.

See Also