LinkedList<T>.RemoveAt method (1 of 2)

Removes the node at the specified position from the list.

public void RemoveAt(int index)
parameter description
index The zero-based index of the item to remove.

Exceptions

exception condition
ArgumentOutOfRangeException Thrown if index is less than zero or greater than the size of the list.

See Also


LinkedList<T>.RemoveAt method (2 of 2)

Removes the specified node from the list.

public void RemoveAt(Node<T> node)
parameter description
node Node to remove

Exceptions

exception condition
ArgumentNullException Thrown if node is null.

See Also