Пример #1
0
        public static void Main(string[] args)
        {
            SectionManager sectionManager = new SectionManager();

            Console.WriteLine("Choose Section to Run:");
            sectionManager.DisplaySectionNames();

            UserInput userInput = new UserInput();

            IProblem problem = sectionManager.GetProblem(userInput.intUserInput());

            if (problem != null)
            {
                problem.Begin();
            }

            Console.WriteLine("Main Program Done.");
        }