stack class : Push(class) method
Description
Adds an instance to the top of the stack.
Syntax
stackInstance.Push(someClass element)
Arguments
Class | Name | Description |
someClass | element | The instance to be added. |
Return value
None
Sample code
//anyStack is a instance of stack{string} type.
anyStack.Push("ww");
Notes
It's a wrapper of the System.Collections.Generic.Stack<t>.Push(T).