Adds all the items in collection to the bag.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic void AddMany(
IEnumerable<T> collection
)
public:
void AddMany(
IEnumerable<T>^ collection
)
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
A collection of items to add to the bag.
RemarksAdding the collection takes time O(M log N), where N is the number of items in the bag, and M is the
number of items in collection.
See Also