示例#1
0
        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)
            {
            }
        }
示例#2
0
        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}]");
            }
        }