Method Intersect
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
Intersect(IEnumerable<T>)
Creates a new ImmutableValueSet<T> that is the intersection of this set and the specified collection.
public ImmutableValueSet<T> Intersect(IEnumerable<T> other)
Parameters
otherIEnumerable<T>The collection to intersect with.
Returns
- ImmutableValueSet<T>
A new set containing only elements present in both this set and the specified collection.