Determines whether the current collection contains a specific value.
- item
- The object to locate in the current collection.
true, if item is found in the current collection; otherwise, false.
Implementations of this interface can vary in how they determine equality of objects; for example, some types use the default comparer, while others allow the user to specify the comparer to be used.
Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0