Click or drag to resize
BagTClone Method
Makes a shallow clone of this bag; i.e., if items of the bag are reference types, then they are not cloned. If T is a value type, then each element is copied as if by simple assignment.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public Bag<T> Clone()

Return Value

Type: BagT
The cloned bag.
Remarks
Cloning the bag takes time O(N), where N is the number of unquie items in the bag.
See Also