Method Contains
Contains(T)
Check if this collection contains (an item equivalent to according to the itemequalityComparer) a particular value.
Declaration
bool Contains(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The value to check for. |
Returns
Type | Description |
---|---|
System.Boolean | True if the items is in this collection. |