Exemple #1
0
 public override string ToString()
 {
     return(CampgroundId.ToString().PadRight(5) + Name.PadRight(35) + OpenMonth.ToString().PadRight(10) + ClosingMonth.ToString().PadRight(10) + "$" + Math.Round(DailyFee * 1.00m, 2, MidpointRounding.AwayFromZero));
 }
 public override string ToString()
 {
     return(CampGroundId.ToString().PadRight(6) + ParkId.ToString().PadRight(6) + CampgroundName.PadRight(10) + OpenMonth.ToString().PadRight(6)
            + ClosingMonth.ToString().PadRight(6) + DailyFee.ToString().PadRight(6));
 }