Method Intersect
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
Intersect(IEnumerable<T>)
Creates an immutable set that contains only elements that exist in this set and the specified set.
IImmutableValueSet<T> Intersect(IEnumerable<T> other)
Parameters
otherIEnumerable<T>The collection to compare to the current IImmutableSet<T>.
Returns
- IImmutableValueSet<T>
A new immutable set that contains elements that exist in both sets.