Ejemplo n.º 1
0
        public void ExchangeStudents(GroupWithQuestionnaires other, int studentId)
        {
            var stud = other.students.ElementAt(studentId);

            other.students.RemoveAt(studentId);
            other.questionnaires.RemoveAt(studentId);
            this.students.Add(stud);
            this.questionnaires.Add(other.questionnaires.ElementAt(studentId));
        }
Ejemplo n.º 2
0
 public GroupWithQuestionnaires(GroupWithQuestionnaires other)
 {
     foreach (var s in other.students)
     {
         students.Add(s);
     }
     foreach (var t in other.techs)
     {
         techs.Add(t);
     }
     foreach (var q in other.questionnaires)
     {
         questionnaires.Add(q);
     }
 }