Complex.Addition(Complex, Complex) Operator

Definition

Adds two complex numbers.

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

Parameters

left
Complex

The first complex value to add.

right
Complex

The second complex value to add.

Returns

The sum of left and right.

Remarks

The addition of a complex number, a + bi, and a second complex number, c + di, takes the following form:

$(a + c) + (b + d)i$

Languages that don't support custom operators can call the Complex.Add(Complex, Double) equivalent method instead.

Applies to

See also