Upraviť

Zdieľať cez


LinkedList<T>.RemoveLast Method

Definition

Removes the node at the end of the LinkedList<T>.

public:
 void RemoveLast();
public void RemoveLast ();
member this.RemoveLast : unit -> unit
Public Sub RemoveLast ()

Exceptions

Examples

For an example that includes this method, see the LinkedList<T> class.

Remarks

This method is an O(1) operation.

Applies to

See also