Method StaticEquals
StaticEquals(ICollection<T>, ICollection<T>, Collections.Generic.IEqualityComparer<T>)
Examine if collection1 and collection2 are equal as unsequenced collections using the specified item equalityComparer (assumed compatible with the two collections).
Declaration
public static bool StaticEquals(ICollection<T> collection1, ICollection<T> collection2, Collections.Generic.IEqualityComparer<T> itemequalityComparer)
Parameters
Type | Name | Description |
---|---|---|
ICollection<T> | collection1 | The first collection |
ICollection<T> | collection2 | The second collection |
System.Collections.Generic.IEqualityComparer<T> | itemequalityComparer | The item equalityComparer to use for comparison |
Returns
Type | Description |
---|---|
System.Boolean | True if equal |