IQueue<T>.PeekOrDefault Method

Returns the element at the beginning of the queue without removing it. Returns Default(T) if the queue is empty.

Namespace: Spring.Collections
public
 function PeekOrDefault: T;

Return Value

Type: T