var nomesDosAlunos = new StringBuilder(); foreach(var aluno in salaDeAula.Alunos) nomesDosAlunos.Append(aluno.Nome).Append(',');