C# BigInteger Multiply Operator
Description
BigInteger Multiply
Multiplies two specified BigInteger
values.
Syntax
BigInteger.Multiply
has the following syntax.
public static BigInteger operator *(
BigInteger left,
BigInteger right
)
Parameters
BigInteger.Multiply
has the following parameters.
left
- The first value to multiply.right
- The second value to multiply.
Returns
BigInteger.Multiply
method returns The product of left and right.
Example
using System;/* ww w . j av a 2s . c o m*/
using System.IO;
using System.Numerics;
public class Example
{
public static void Main()
{
BigInteger num1 = 12312312;
BigInteger num2 = 12312312;
BigInteger result = num1 * num2;
}
}