示例#1
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(Lector.ToString()).Append(Environment.NewLine);
            foreach (Student student in this.Studenten)
            {
                sb.Append(student.ToString()).Append(Environment.NewLine);
            }
            return(sb.ToString());
        }
示例#2
0
 public Klasgroep(Lector lector)
 {
     this.Lector    = lector;
     this.Studenten = new List <Student>();
 }