Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

Bag<(Of <(<'T>)>)> Constructor

Overload List


  Name Description
Public method Bag<(Of <(<'T>)>)>()()()()
Creates a new Bag.
Public method Bag<(Of <(<'T>)>)>(IEqualityComparer<(Of <<'(T>)>>))
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 method Bag<(Of <(<'T>)>)>(IEnumerable<(Of <<'(T>)>>))
Creates a new Bag. The bag is initialized with all the items in the given collection.
Public method Bag<(Of <(<'T>)>)>(IEnumerable<(Of <<'(T>)>>), IEqualityComparer<(Of <<'(T>)>>))
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.