Пример #1
0
 public string[] ToArray()
 {
     return(new string[]
     {
         Customer,
         Title,
         Genre,
         Rented.ToString(),
         Returned == DateTime.MinValue ? String.Empty : Returned.ToString(),
         Cost.ToString(),
         BookingId.ToString(),
         CustomerId.ToString()
     });
 }
Пример #2
0
 public string[] ToArray()
 {
     return(new string[]
     {
         BookingId.ToString(),
         RegistrationNumber,
         VehicleType,
         Customer,
         Cost.ToString(),
         Rented.ToString(),
         Returned == DateTime.MinValue ?
         String.Empty : Returned.ToString()
     });
 }