Returns the sort order of the current instance compared to the specified
sbyte.
[Edit]
Parameters
- value
- The sbyte to compare to the current instance.
[Edit]
Returns
The return value is a negative number, zero, or a positive number reflecting the sort order of the current instance as compared to value. For non-zero return values, the exact value returned by this method is unspecified. The following table defines the return value:
Return Value | Description |
---|
A negative number | Current instance < value. |
Zero | Current instance == value. |
A positive number | Current instance > value. |
[Edit]
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0