Share via


JsonExtensions.Dequeue<T>(List<T>) Method

Definition

Removes first element of a queue.

public static T Dequeue<T> (this System.Collections.Generic.List<T> queue);
static member Dequeue : System.Collections.Generic.List<'T> -> 'T
<Extension()>
Public Function Dequeue(Of T) (queue As List(Of T)) As T

Type Parameters

T

Element type.

Parameters

queue
List<T>

List from where to remove first element.

Returns

T

Element removed.

Applies to