Base interface for classes that implement a comparison (less, equal, greater).
interface
|
IComparable
|
with
|
<T>
|
Compares this object with the given one.
[Pure]
|
||||
method
|
CompareTo
(T other)
|
|||
type
|
int32
|
|||
params
|
other
|
The object to compare to. | ||
returns
|
<
0
:
if
this
object
is
less
than
other, = 0 : if this object is equal to other, > 0 : if this object is greater than other. |