public static void Main() { var queensSolver = new QueensSolver(8); queensSolver.FindAllSolutions(); Console.WriteLine(queensSolver.SolutionsCount); }