Export (0) Print
Expand All

ImmutableSortedSet<T>.Intersect Method

Creates an immutable sorted set that contains elements that exist both in this set and in the specified set.

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

public ImmutableSortedSet<T> Intersect(
	IEnumerable<T> other


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

The set to intersect with this one.

Return Value

Type: System.Collections.Immutable.ImmutableSortedSet<T>
A new immutable sorted set that contains any elements that exist in both sets.
© 2015 Microsoft