System::Collections::Generic::Stack::Peek method

Stack::Peek method

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

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

ReturnValue

Top element of the stack.

See Also