Stack
Represents a simple last-in-first-out (LIFO) non-generic collection of objects.
Gets the number of elements contained in the Stack.
Gets a value indicating whether access to the Stack is synchronized (thread safe).
Gets an object that can be used to synchronize access to the Stack.
public Stack()
Initializes a new instance of the Stack class that is empty and has the default initial capacity.
Initializes a new instance of the Stack class that is empty and has the specified initial capacity or the default initial capacity, whichever is greater.
Initializes a new instance of the Stack class that contains elements copied from the specified collection and has the same initial capacity as the number of elements copied.
Returns a synchronized (thread safe) wrapper for the Stack.
Removes all objects from the Stack.
Creates a shallow copy of the Stack.
Determines whether an element is in the Stack.
Returns an IEnumerator for the Stack.
Returns the object at the top of the Stack without removing it.
Removes and returns the object at the top of the Stack.
Inserts an object at the top of the Stack.
Copies the Stack to a new array.