Click or drag to resize
BigListT Constructor (IEnumerableT, Int32)
Creates a new BigList initialized with a given number of copies of the items from collection, in order.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public BigList(
	IEnumerable<T> collection,
	int copies
)

Parameters

collection
Type: System.Collections.GenericIEnumerableT
The collection used to initialize the BigList.
copies
Type: SystemInt32
Number of copies of the collection to use.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioncopies is negative.
ArgumentNullExceptioncollection is null.
Remarks
Initializing the tree list with the elements of collection takes time O(N + log K), where N is the number of items in collection, and K is the number of copies.
See Also