Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Courses courses = new Courses(new TextCourseData("../../../coursedata.txt"));

            courses.PrintAll();
            courses.PrintById(5);
            courses.PrintIds();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Courses courses = new Courses(new MemoryCourseData());

            courses.PrintAll();
            courses.PrintIds();
            courses.PrintById(2);
        }