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

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

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

            //print courses
        }