Click or drag to resize
StackT Constructor (IEnumerableT)
Initializes a new instance of the StackT class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.

Namespace: System.Collections.Generic
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public Stack(
	IEnumerable<T> collection
)

Parameters

collection
Type: System.Collections.GenericIEnumerableT
The collection to copy elements from.
Exceptions
ExceptionCondition
ArgumentNullExceptioncollection is null.
See Also