ImmutableSortedSet<T>.SymmetricExcept Method (IEnumerable<T>)

 

Creates an immutable sorted set that contains elements that exist either in this set or in a given sequence, but not both.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableSortedSet<T> SymmetricExcept(
	IEnumerable<T> other
)

Parameters

other
Type: System.Collections.Generic.IEnumerable<T>

The other sequence of items.

Return Value

Type: System.Collections.Immutable.ImmutableSortedSet<T>

The new immutable sorted set.

Return to top
Show: