Method Equals
Equals(ISet<T>)
Compares this sequence to other
, returning true
if they
are equal, false
otherwise.
The comparison takes into consideration any values in this collection and values
of any nested collections, but does not take into consideration the data type.
Therefore, EquatableSet<T> can equal any
Declaration
public virtual bool Equals(ISet<T> other)
Parameters
Type | Name | Description |
---|---|---|
ISet<T> | other | The other object to compare against. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Equals(Object)
If the object passed implements other
, returning true
if they
are equal, false
otherwise.
The comparison takes into consideration any values in this collection and values
of any nested collections, but does not take into consideration the data type.
Therefore, EquatableSet<T> can equal any
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other | The other object to compare against. |
Returns
Type | Description |
---|---|
System.Boolean |
|