public override string ToString() { return("Quarto " + NumeroQuarto + ", check-in: " + Checkin.ToString("dd/MM/yyyy") + ", check-out: " + Checkout.ToString("dd/MM/yyyy") + ", " + Duration() + " noites"); }
public override string ToString() { return("Reservation: Room " + RoomNumber + ", check-in: " + Checkin.ToString("dd/MM/yyyy") + ", check-out: " + Checkout.ToString("dd/MM/yyyy") + ", " + Duration() + " nights"); }
public override string ToString() { return("Room " + RoomNumber + ", CheckIn" + Checkin.ToString("dd/MM/yyyy") // Define a forma padrĂ£o para o output da data + ", Checkout" + Checkout.ToString("dd/MM/yyyy") + ", " + Duration() + " nights"); }
public override string ToString() { return("Room " + RoomNumber + ", check-in " + Checkin.ToString("dd/MM/yyyy") + "check-out" + Checkout.ToString("dd/MM/yyyy") + ", " + duration() + " nights"); }
public override string ToString() { return("Reservation: Room " + NumeroQuarto + ", check-in: " + Checkin.ToString("dd/MM/yyyy") + ", check-out: " + Checkout.ToString("dd/MM/yyyy") + ", " + Duracao() + " nights"); }
public override string ToString() { return("Room: " + RoomNumber + "Checkin: " + Checkin.ToString("dd/MM/yyyy") + "CheckOut: " + Checkout.ToString("dd/MM/yyyy") + ", " + Duration() + "Nights: "); }
public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("Reservation: Room: "); sb.Append(RoomNumber); sb.Append(", check-in: "); sb.Append(Checkin.ToString("dd/MM/yyyy")); sb.Append(",check-out: "); sb.Append(Checkout.ToString("dd/MM/yyyy")); sb.Append(", "); sb.Append(Duration()); sb.Append(" nights"); return(sb.ToString()); }
public override string ToString() { string night = Duration() > 1 ? " nights" : " night"; return("Room " + RoomNumber + ", " + "Checkin: " + Checkin.ToString("dd/MM/yyyy") + ", " + "Checkout: " + Checkout.ToString("dd/MM/yyyy") + ", " + Duration() + night); }
public override string ToString() { return($"Quarto {NumeroQuarto}, check-in: {Checkin.ToString("dd/MM/yyyy")}, check-out: {Checkout.ToString("dd/MM/yyyy")}, {Duracao()} noites"); }
public override string ToString() { return($"ROOM {RoomNumber}, check-in: {Checkin.ToString("dd/MM/yyyy")}," + $" check-out: {Checkout.ToString("dd/MM/yyyy")}, {Duration()} nights"); }