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