ImmutableSortedSet<T>.ISet<T>.IntersectWith Method (IEnumerable<T>)

 

Modifies the current set so that it contains only elements that are also in a specified collection

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

void ISet<T>.IntersectWith(
	IEnumerable<T> other
)

Parameters

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

The collection to compare to the current set.

This member is an explicit interface member implementation. It can be used only when the ImmutableSortedSet<T> instance is cast to an ISet<T> interface.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Return to top
Show: