Ejemplo n.º 1
0
 //toString
 public override string ToString()
 {
     return(string.Format("{0};{1};{2};{3};{4}", Destination, Name, PassportNo, Departure.ToShortDateString(), Return.ToShortDateString()));
 }
Ejemplo n.º 2
0
 public override string ToString()
 {
     return($"flight number: {FlightNumberId} , depature: {Departure.ToShortDateString()} ," +
            $"Description : {Description} , airline : {AirLine}  ");
 }