- Add
- Count
- Contains
- Comparer
- TryGetMin
- TryGetMax
- CopyTo
- Clear
- Remove
- ExceptWith
- IntersectWith
- SymmetricExceptWith
- UnionWith
- IsProperSubsetOf
- IsProperSupersetOf
- IsSubsetOf
- IsSupersetOf
- Overlaps
- SetEquals
- GetViewBetween
- GetReverse
UnionWith
Produces the union of the current collection and a passed collection (array). It adds to the current collection (array) missing elements from the specified collection (array).
A version for working with the collection that implements the ICollection<T> interface.
void UnionWith(
|
A version for working with an array.
void UnionWith(
|
Parameters
*collection
[in] A collection with which the current set will be united.
&collection[]
[in] An array with which the current set will be united.
Note
The result is written to the current collection (array).