interface · System
IComparable<TSelf>
public interface System.IComparable<TSelf>
Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than other.
- Kind
- interface
- Namespace
- System
- Assembly
- System.Core
- Access
- public
- Source file
Any.ant
Type parameters
| Name | Constraints |
|---|---|
TSelf | any type |
Inheritance
- Implemented by
-
DateTimeFloat128Float16Float256Float32Float64Int128Int16Int256Int32Int64Int8String<T>TimeSpanUInt128UInt16UInt256UInt32UInt64UInt8
Source
IComparable<TSelf> as Larva HIR, decompiled from its Larva HIR.
// Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than `other`.
public interface System.IComparable<TSelf>
{
method CompareTo(other: TSelf) -> i32
}