.NET Framework 4.6 and 4.5
Assembly: mscorlib (in mscorlib.dll)
Return to top
The two overloads of themethod return signed number that indicates the relative value of this instance and the value argument, as shown in the following table.
Less than zero
This instance is earlier than value.
This instance is the same as value.
Greater than zero
This instance is later than value.