IReadOnlySet<T>.SetEquals(IEnumerable<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check if this set contains the same and only the same elements as other.
public bool SetEquals (System.Collections.Generic.IEnumerable<T> other);
abstract member SetEquals : seq<'T> -> bool
Public Function SetEquals (other As IEnumerable(Of T)) As Boolean
Parameters
- other
- IEnumerable<T>
The sequence to check against.
Returns
True if this set contains the same and only the same elements as other; otherwise false.