Compares the current instance with another object of the same type.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public int CompareTo( Object obj )
Public Function CompareTo ( obj As Object ) As Integer
public: virtual int CompareTo( Object^ obj ) sealed
abstract CompareTo : obj : Object -> int override CompareTo : obj : Object -> int
![](../icons/collapse_all.gif)
- obj (Object)
- An object to compare with this instance.
![](../icons/collapse_all.gif)
Int32
Returns 0 if two objects are equal, returns negative value if this object is less, returns positive value if this object is grater.
Returns 0 if two objects are equal, returns negative value if this object is less, returns positive value if this object is grater.
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119