Ejemplo n.º 1
0
        public void Begin()
        {
            UserInput  userInput = new UserInput();
            AbsProblem problem   = null;

            Console.WriteLine("Which Lesson?: ");
            DisplayLessons();

            int choice = userInput.intUserInput();

            problem = GetLesson(choice);

            if (problem != null)
            {
                problem.Begin();
            }
        }
Ejemplo n.º 2
0
 protected void AddLessons(int key, AbsProblem value)
 {
     _lessons.Add(key, value);
 }