public override string ToString() { return(String.Format( "\n| Id do Aluno: {0}" + "\n| Nome: {1}" + "\n| Email: {2}" + "\n| Dias de Locação: {3:d} dia(s)" + "\n| Qtd. Locações: {4}", this.IdStudent, this.Name, this.Email, this.RentedDays, Rent.GetCount(this.IdStudent) )); }