private static void TestHelper(IQueenSolution solution, int n) { Stopwatch wath = new Stopwatch(); wath.Start(); int result = solution.SolveQueenProblem(n); wath.Stop(); Console.WriteLine("{0} queens| Result : {1}, Time : {2}ms", n, result, wath.ElapsedMilliseconds); }