Produces the operation of symmetrical difference between the current collection and a passed collection (array). It modifies the current collection to only contain elements that are present in the source object or in the specified collection (array), but not in both of them.
A version for working with the collection that implements the ICollection<T> interface.
A version for working with an array.
[in] A collection to produce the symmetrical difference with.
[in] An array to produce the symmetrical difference with.
The result is written to the current collection (array).