Click or drag to resize
BagT Constructor
Overload List
  NameDescription
Public methodBagT
Creates a new Bag.
Public methodBagT(IEnumerableT)
Creates a new Bag. The bag is initialized with all the items in the given collection.
Public methodBagT(IEqualityComparerT)
Creates a new Bag. The Equals and GetHashCode methods of the passed comparison object will be used to compare items in this bag for equality.
Public methodBagT(IEnumerableT, IEqualityComparerT)
Creates a new Bag. The Equals and GetHashCode methods of the passed comparison object will be used to compare items in this bag. The bag is initialized with all the items in the given collection.
Top
See Also