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()); }
public Klasgroep(Lector lector) { this.Lector = lector; this.Studenten = new List <Student>(); }