Class Result.ComplexNumberResult
Represents the complex number value.
public sealed class Result.ComplexNumberResult : Result
- Inheritance
-
Result.ComplexNumberResult
- Inherited Members
Constructors
ComplexNumberResult(Complex)
Initializes a new instance of the Result.ComplexNumberResult class.
public ComplexNumberResult(Complex complexNumber)
Parameters
complexNumber
ComplexThe complex number value.
Properties
ComplexNumber
Gets complex number value.
public override Complex ComplexNumber { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator Complex(ComplexNumberResult)
Converts Result.ComplexNumberResult to Complex.
public static implicit operator Complex(Result.ComplexNumberResult complexNumberResult)
Parameters
complexNumberResult
Result.ComplexNumberResultThe complex number result.
Returns
- Complex
The complex number.