Stack()

Stack::Stack() constructor

Constructs empty stack.

System::Collections::Generic::Stack<T>::Stack()

Stack::Stack(int) constructor

Constructs empty stack.

System::Collections::Generic::Stack<T>::Stack(int capacity)

Arguments

ParameterTypeDescription
capacityintNumber of elements to reserve; ignored.

Stack::Stack(IEnumerablePtr) constructor

Copy constructor.

System::Collections::Generic::Stack<T>::Stack(IEnumerablePtr collection)

Arguments

ParameterTypeDescription
collectionIEnumerablePtrCollection to copy elements from.

See Also