Produces the operation of intersection of the current collection and a passed collection (array). It modifies the current collection to only contain elements that are present in the specified collection (array).
A version for working with the collection that implements the ICollection<T> interface.
A version for working with an array.
[in] A collection with which the current set will be intersected.
[in] An array with which the current set will be intersected.
The result is written to the current collection (array).