Beispiel #1
0
        public Car(string theMake, string theModel, int theYear, Decimal thePrice)
        {
            Make  = theMake;
            Model = theModel;
            Year  = theYear;
            Price = thePrice;

            CarLot.Add(this);
        }
Beispiel #2
0
        public Car()
        {
            Make  = "Empty";
            Model = "Empty";
            Year  = 0;
            Price = 0.00m;

            CarLot.Add(this);
        }