Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            InIt();

            do
            {
                var day = _consoleHelper.GetDayFromUser();

                if (!string.IsNullOrEmpty(day))
                {
                    _consoleHelper.InitDay(day);

                    var solution = _solutionFactory.GetSolution(day);
                    solution.Solve();
                    solution.PrintAnswers();
                }
                else
                {
                    _run = false;
                }

                _consoleHelper.IterationComplete();
            }while (_run);
        }