BagT Constructor (IEnumerableT) |
Creates a new Bag. The bag is
initialized with all the items in the given collection.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic Bag(
IEnumerable<T> collection
)
public:
Bag(
IEnumerable<T>^ collection
)
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
A collection with items to be placed into the Bag.
Remarks
Items that are null are permitted.
See Also