Method UnsequencedEquals
UnsequencedEquals(ICollection<T>)
Compare the contents of this collection to another one without regards to the sequence order. The comparison will use this collection's itemequalityComparer to compare individual items.
Declaration
bool UnsequencedEquals(ICollection<T> otherCollection)
Parameters
Type | Name | Description |
---|---|---|
ICollection<T> | otherCollection | The collection to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | True if this collection and that contains the same items. |