Interface
ComparableTo<T>
interface ComparableTo<in T>
Module: System
Assembly: System.Runtime.dll
Source file: ComparableTo.rvn
Compares a value with another value of the declared type.
Remarks
Development: T is contravariant for reference conversions; value-type arguments remain exact.
Derived interfaces
Documented types in this API reference. Indirect relationships are marked.
Implementing types
Documented types in this API reference. Indirect relationships are marked.
Show less
Methods
1 item
CompareTo(other: T) -> int
Compares this value with the other value; returns a negative integer, zero or a positive integer for less than, equal to or greater than.
Defined by ComparableTo<T>.CompareTo · Required implementation (no default).