IEnumerable<T>.Contains(T) Method
Determines whether a sequence contains a specified element by using the default equality comparer.
public
function Contains(const value: T): Boolean; overload;
Parameters
- value
- Type: T
The value to locate in the sequence.
Return Value
Type: Boolean
True if the source sequence contains an element that has the specified value; otherwise, False.