Provides a standard implementation of Contains.
public static bool Contains<T>(ICollection<T> source, T item)
| parameter | description |
|---|---|
| T | The type of the collection. |
| source | The source collection (i.e., the object on which Contains is being called). |
| item | The object to locate. |
true if item is found in source; otherwise false.