Export (0) Print
Expand All

BigInteger.CompareTo Method (Int32)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Compares a big integer to a 32-bit integer.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public int CompareTo(
	int n
)

Parameters

n
Type: System.Int32
A Int32 value that is compared to a big integer.

Return Value

Type: System.Int32
A signed integer that indicates how the big integer compares to an integer.

Return value

Description

Less than zero

The big integer is less than an integer.

Zero

The big integer is equal to an integer.

Greater than zero

The big integer is greater than an integer.

Implements

IComparable<T>.CompareTo(T)

Show:
© 2014 Microsoft