IStack<T>.PeekOrDefault Method

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

Namespace: Spring.Collections
public
 function PeekOrDefault: T;

Return Value

Type: T