コード例 #1
0
 public void AddStudent(string newStudent)
 {
     _studentList += "," + newStudent;
     _studentStorage.UpdateStudentList(_studentList);
 }
コード例 #2
0
ファイル: StudentManager.cs プロジェクト: komando82/Edx
 /// <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);
 }