Push()

Stack::Push(const T&) method

Puts element of top of the stack.

void System::Collections::Generic::Stack<T>::Push(const T &item)

Arguments

ParameterTypeDescription
itemconst T&Element to push into stack.

See Also