Esempio n. 1
0
 public Car()
 {
     Make  = "No Make Assigned";
     Model = "No Model Assigned";
     Year  = 2000;
     Price = 0;
     CarLot.PopulateLot(this);
 }                               //auto-adds to Lot
Esempio n. 2
0
 public Car(string aMake, string aModel, int aYear, double aPrice)
 {
     Make  = aMake;
     Model = aModel;
     Year  = aYear;
     Price = aPrice;
     CarLot.PopulateLot(this);//auto-adds to Lot
 }