IImmutableQueue<T>.Peek IImmutableQueue<T>.Peek IImmutableQueue<T>.Peek IImmutableQueue<T>.Peek Method

Definition

Returns the element at the beginning of the immutable queue without removing it.

public:
 T Peek();
public T Peek ();
abstract member Peek : unit -> 'T
Public Function Peek () As T

Returns

T T T T

The element at the beginning of the queue.

Exceptions

Applies to