Skip to main content
Tab

Collection<T>.IndexOf Method

Name Parameters Description
IndexOf(T) item Searches for the specified item and returns the zero-based index of its first occurrence within the collection.
IndexOf(Predicate<T>) match Returns the zero-based index of the first element that matches the conditions defined by the specified predicate.