[]
Determines whether the ICollection<T> contains a specific value.
public bool Contains(T item)
| Type | Name | Description |
|---|---|---|
| T | item | The object to locate in the ICollection<T>. |
| Type | Description |
|---|---|
| bool | true if |
Determines whether the IList contains a specific value.
public bool Contains(object? value)
| Type | Name | Description |
|---|---|---|
| object | value | The object to locate in the IList. |
| Type | Description |
|---|---|
| bool | true if the System.Object is found in the IList; otherwise, false. |