Peek()

Stack::Peek() method

Gets element from stack top, but keeps it in stack.

T System::Collections::Generic::Stack<T>::Peek()

Return Value

Top element of the stack.

See Also