LinkedList<T>.IndexOf method

Determines the index of a specific item in the List.

public int IndexOf(T value)
parameter description
value The object to locate in the list.

Return Value

The zero-based index of the object in the list, or -1 if its not in the list.

See Also