C# BigInteger Increment
Description
BigInteger Increment
Increments a BigInteger value by 1.
Syntax
BigInteger.Increment
has the following syntax.
public static BigInteger operator ++(
BigInteger value
)
Parameters
BigInteger.Increment
has the following parameters.
value
- The value to increment.
Returns
BigInteger.Increment
method returns The value of the value parameter incremented by 1.
Example
using System;//from w ww. j a va 2 s .com
using System.IO;
using System.Numerics;
public class Example
{
public static void Main()
{
BigInteger number = 93123843112;
Console.WriteLine(++number);
}
}
The code above generates the following result.