StackT Constructor (Int32) |
Initializes a new instance of the
StackT class that is empty and has the specified initial capacity or the default initial capacity, whichever is greater.
Namespace: System.Collections.GenericAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public Stack(
int capacity
)
Parameters
- capacity
- Type: SystemInt32
The initial number of elements that the StackT can contain.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | capacity is less than zero. |
See Also