Redigera

Dela via


LinkedList<T>.RemoveFirst Method

Definition

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

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

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