public void Initialize() { for (int i = 1; i <= 5; i++) { Monster_Student ms = new Monster_Student(i, String.Format("Ability{0}", i)); monsterCohort.AddStudent(ms); } DoSomething(); }
public void AddStudent(Monster_Student ms) { students.Add(ms); }