BigInteger.Multiply(BigInteger, BigInteger) BigInteger.Multiply(BigInteger, BigInteger) BigInteger.Multiply(BigInteger, BigInteger) BigInteger.Multiply(BigInteger, BigInteger) Operator

Definition

Multiplies two specified BigInteger values.

public:
 static System::Numerics::BigInteger operator *(System::Numerics::BigInteger left, System::Numerics::BigInteger right);
public static System.Numerics.BigInteger operator * (System.Numerics.BigInteger left, System.Numerics.BigInteger right);
static member ( * ) : System.Numerics.BigInteger * System.Numerics.BigInteger -> System.Numerics.BigInteger
Public Shared Operator * (left As BigInteger, right As BigInteger) As BigInteger

Parameters

left
BigInteger BigInteger BigInteger BigInteger

The first value to multiply.

right
BigInteger BigInteger BigInteger BigInteger

The second value to multiply.

Returns

The product of left and right.

Remarks

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;
Dim num1 As BigInteger = 1000456321
Dim num2 As BigInteger = 90329434
Dim result As BigInteger = num1 * num2

The equivalent method for this operator is BigInteger.Multiply(BigInteger, BigInteger).

Applies to

See also