static void Main(string[] args) { var solver = new QuadraticEquationSolver(); var flag = solver.Start(1, 10, 16, out Tuple <Complex, Complex> solution); if (flag == WorkflowResult.Success) { } }
static void Main(string[] args) { var solver = new QuadraticEquationSolver(); Tuple <Complex, Complex> solution = null; var flag = solver.Start(1, 9, 8, out solution); if (flag == WorkflowResult.Success) { Console.WriteLine($"Solution: [{solution.Item1}] [{solution.Item2}]"); } }