Stack<T>
Represents a variable size last-in-first-out (LIFO) collection of instances of the same specified type.
Enumerates the elements of a Stack<T>.
Gets the number of elements contained in the Stack<T>.
public Stack()
Initializes a new instance of the Stack<T> class that is empty and has the default initial capacity.
Initializes a new instance of the Stack<T> 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<T> class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
Removes all objects from the Stack<T>.
Determines whether an element is in the Stack<T>.
Returns an enumerator for the Stack<T>.
Returns the object at the top of the Stack<T> without removing it.
Removes and returns the object at the top of the Stack<T>.
Inserts an object at the top of the Stack<T>.
Copies the Stack<T> to a new array.
Sets the capacity to the actual number of elements in the Stack<T>, if that number is less than 90 percent of current capacity.