public static ComplexNumber Sum(ComplexNumber a, ComplexNumber b) { return(a + b); }
ComplexNumber(ComplexNumber obj) { real = obj.real; imaginary = obj.imaginary; }
public bool Equals(ComplexNumber CompObj) { return((real == CompObj.real) && (imaginary == CompObj.imaginary)); }
public static ComplexNumber division(ComplexNumber a, ComplexNumber b) { return(a / b); }
public static ComplexNumber Multiply(ComplexNumber a, ComplexNumber b) { return(a * b); }
public static ComplexNumber Sub(ComplexNumber a, ComplexNumber b) { return(a - b); }