stack class : Pop() method
Description
Removes and returns the instance at the top of the stack.
Syntax
stackInstance.Pop()
Arguments
None
Return value
Class | Description |
someClass | The instance that was removed from the top of the stack. |
Sample code
//anyStack is a instance of stack{string} type.
string str = anyStack.Pop();
Notes
It's a wrapper of the System.Collections.Generic.Stack<t>.Pop().