This documentation is archived and is not being maintained.
Represents a simple last-in-first-out (LIFO) non-generic collection of objects.
The Stack type exposes the following members.
|Clear||Removes all objects from the Stack.|
|Clone||Creates a shallow copy of the Stack.|
|Contains||Determines whether an element is in the Stack.|
|CopyTo||Copies the Stack to an existing one-dimensional Array, starting at the specified array index.|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetEnumerator||Returns an IEnumerator for the Stack.|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Peek||Returns the object at the top of the Stack without removing it.|
|Pop||Removes and returns the object at the top of the Stack.|
|Push||Inserts an object at the top of the Stack.|
|Synchronized||Returns a synchronized (thread safe) wrapper for the Stack.|
|ToArray||Copies the Stack to a new array.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|