.NET Framework (current version)
Assembly: mscorlib (in mscorlib.dll)
Return to top
The two overloads of themethod return a 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.