public void AddStudent(string newStudent)
 {
     _studentList += "," + newStudent;
     _studentStorage.UpdateStudentList(_studentList);
 }
Beispiel #2
0
 /// <summary>
 /// Adds the student with the given student name to the list of students.
 /// </summary>
 /// <param name="newStudent">The name of the new student.</param>
 public void AddStudent(string newStudent)
 {
     _studentList += StudentEntryDelimiter + newStudent;
     _storage.UpdateStudentList(_studentList);
 }