public void PrintAll()
        {
            var courses = courseDatabase.CourseNames();

            System.Console.WriteLine(string.Join(", ", courses));
        }
 public void PrintAll(ICourseData data)
 {
     var courses = data.CourseNames();
 }
Esempio n. 3
0
        public void PrintAll(ICourseData data)
        {
            var courses = data.CourseNames();

            // print courses
        }
Esempio n. 4
0
        public void PrintAll()
        {
            var courses = database.CourseNames();

            //print courses
        }