Redigera

Dela via


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

Definition

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

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ SymmetricExcept(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableSortedSet<T> SymmetricExcept (System.Collections.Generic.IEnumerable<T> other);
member this.SymmetricExcept : seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function SymmetricExcept (other As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

Parameters

other
IEnumerable<T>

The other sequence of items.

Returns

The new immutable sorted set.

Remarks

System.Collections.Immutable NuGet package

About immutable collections and how to install

Applies to