Beispiel #1
0
 public override string ToString()
 {
     return(CampgroundId.ToString().PadRight(5) + Name.PadRight(35) + OpenFrom.ToString().PadRight(15) + OpenTo.ToString().PadRight(15) + Fee.ToString("C2").PadRight(6));
 }
 public override string ToString()
 {
     return("#" + CampgroundID.ToString().PadRight(10) + Name.PadRight(20) + OpenFrom.ToString().PadRight(10) + OpenTo.ToString().PadRight(10) + Math.Round(DailyFee, 2).ToString());
 }