Method IndexOf
IndexOf(T)
Returns the index of a node, or -1.
public int IndexOf(T item)
Parameters
itemTThe node to look for.
Returns
- int
The zero-based index, or -1 if absent.
Returns the index of a node, or -1.
public int IndexOf(T item)
item TThe node to look for.
The zero-based index, or -1 if absent.