Esempio n. 1
0
        public override string ToString()
        {
            var format = "dd/MM/yyyy hh:mm";

            return($"{Subject} at {Start.ToString(format)} to {End.ToString(format)} on days {ReservationDays.Select(x => x + " ")}");
        }
Esempio n. 2
0
 public override string ToString()
 {
     return($"{Subject} at {Start} to {End} on days {string.Join(", ", ReservationDays.GetDays().ToList())}");
 }