Method Contains
Contains(object?)
Determines whether the ICollection<T> contains a specific value.
public bool Contains(object? value)
Parameters
valueobject
Returns
- bool
true if
itemis found in the ICollection<T>; otherwise, false.
Determines whether the ICollection<T> contains a specific value.
public bool Contains(object? value)
value objecttrue if item is found in the ICollection<T>; otherwise, false.