BigInteger::CompareTo Method (Object)
Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
Assembly: System.Numerics (in System.Numerics.dll)
- Type: System::Object
The object to compare.
Return ValueType: System::Int32
A signed integer that indicates the relationship of the current instance to the obj parameter, as shown in the following table.
Less than zero
The current instance is less than obj.
The current instance equals obj.
Greater than zero
The current instance is greater than obj, or the obj parameter is nullptr.
The obj parameter must be one of the following:
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.