BigInteger.Multiply Operator (BigInteger, BigInteger)

 
equivalentCodeEntityM:System.Numeric s .BigInteger.Multiply(System.Numeric s .BigInteger,System.Numeric s .BigInteger)

Multiplies two specified BigInteger values.

Namespace:   System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public static BigInteger operator *(
	BigInteger left,
	BigInteger right
)

Parameters

left
Type: System.Numerics.BigInteger

The first value to multiply.

right
Type: System.Numerics.BigInteger

The second value to multiply.

Return Value

Type: System.Numerics.BigInteger

The product of left and right.

The Multiply method defines the operation of the multiplication operator for BigInteger values. It enables code such as the following:

BigInteger num1 = 1000456321;
BigInteger num2 = 90329434;
BigInteger result = num1 * num2;

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1
Return to top
Show: