public static void StudentCreationMessage(string name, Instructor teach) { string toShow = ""; toShow += "Student "; toShow += name; toShow += " has joined "; toShow += teach.GetName() + "'s "; toShow += teach.GetCourse(); toShow += " class"; Format(toShow); }
public static void GradeChangeMessage(Instructor teach, Student student, int grade) { string toShow = ""; toShow += teach.GetName(); toShow += " changed "; toShow += student.GetName() + "'s "; toShow += "grade in "; toShow += teach.GetCourse(); toShow += " to "; toShow += grade; Format(toShow); }
public static void PrintInfo(Instructor teach) { Format("Instructor: " + teach.GetName()); Format("Course: " + teach.GetCourse()); }