Removes the top item from the stack and returns it as an Object
Pop removes the top item from the stack and decrements the Count property by one.
Pop generates an error if applied to an empty stack. Thus, it’s advisable to determine when a stack is empty by using the Count property before popping the stack.
The Peek method returns a reference to the object at the top of the stack, but unlike the Pop method, does not remove it from the stack.