Method SetEquals
SetEquals(IEnumerable<T>)
Determines whether the current set and the specified collection contain the same elements.
Declaration
public bool SetEquals(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | other | The collection to compare to the current set. |
Returns
Type | Description |
---|---|
Boolean | true if the current set is equal to |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|