Method Compare
Compare(IEnumerable<T>, IEnumerable<T>)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(IEnumerable<T> x, IEnumerable<T> y)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | x | First sequence. |
IEnumerable<T> | y | Second sequence. |
Returns
Type | Description |
---|---|
int | A signed integer that indicates the relative values of |