Method IndexOf IndexOf(T) Returns the index of an item. Declaration public int IndexOf(T item) Parameters Type Name Description T item The item. Returns Type Description int Index in the list. Implements IList<T>.IndexOf(T)