private static void Solve(SudokuBoard board, Stopwatch stopwatch, string number) { // Setup Solver solver = new Solver(board); // Printing Console.WriteLine("\n**********************************"); Console.WriteLine($"*** Board {number}"); board.FancyPrint(); // Stopwatch stopwatch.Reset(); stopwatch.Start(); // Solve solver.Run(); // Stopwatch stopwatch.Stop(); // Printing //board.Print(); board.FancyPrint(); solver.PrintData(); Console.WriteLine($"Time used: {stopwatch.ElapsedMilliseconds} milliseconds."); }