Method Contains
Contains(T)
Check if an element is present in the list.
Declaration
public bool Contains(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | Item to test against. |
Returns
Type | Description |
---|---|
bool | True if the item is in the list. |