예제 #1
0
 public static double GetValueOfCourse(Course course)
 {
     return(Math.Ceiling((double)course.DurationInMinutes / 60) * CourseHourValue);
 }
 public void AddCourse(Course c)
 {
     courses.Add(c);
 }