Beispiel #1
0
 public bool compareBach(Bach b1)
 {
     if (this.region == b1.region && this.city == b1.city && this.suburb == b1.suburb && this.nearestBeach == b1.nearestBeach && this.rentalAvailable == b1.rentalAvailable)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #2
0
 public static void Main(string[] args)
 {
     Bach bach1 = new Bach("Bay of Plenty", "Tauranga", "Mt. Maunganui", "Pilot Bay", true);
 }