Compares two System.Numerics.BigInteger values and returns an integer that
indicates whether the first value is less than, equal to, or greater than the second value.
Namespace: Renci.SshNet.CommonAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public static int Compare( BigInteger left, BigInteger right )
Parameters
- left
- Type: Renci.SshNet.Common BigInteger
The first value to compare.
- right
- Type: Renci.SshNet.Common BigInteger
The second value to compare.
Return Value
A signed integer that indicates the relative values of left and right, as shown in the following table.ValueConditionLess than zeroleft is less than right.Zeroleft equals right.Greater than zeroleft is greater than right.See Also