Stack`1 Class

Represents a variable size last-in-first-out (LIFO) collection of instances of the same specified type.
T
Specifies the type of elements in the stack.

Constructors

  • Stack`1()   Initializes a new instance of the Stack`1 class that is empty and has the default initial capacity.
  • Stack`1(IEnumerable<`0>)   Initializes a new instance of the Stack`1 class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
  • Stack`1(Int32)   Initializes a new instance of the Stack`1 class that is empty and has the specified initial capacity or the default initial capacity, whichever is greater.

Methods

Properties

Nested Types

Assemblies