Esempio n. 1
0
 public Auto(string merk, string type, string omschrijving, int prijs, DateTime bouwdatum, brandstof stof)
 {
     this.merk = merk;
     this.type = type;
     this.omschrijving = omschrijving;
     this.prijs = prijs;
     this.bouwdatum = bouwdatum;
     leeftijd = bouwdatum - DateTime.Now;
     this.stof = stof;
 }
Esempio n. 2
0
 public PriveAuto(string merk, string type, string omschrijving, int prijs, DateTime bouwdatum,brandstof stof, int brandstofverbruik)
     : base(merk, type, omschrijving, prijs, bouwdatum, stof)
 {
     this.brandstofverbruik = brandstofverbruik;
 }
Esempio n. 3
0
 public LeaseAuto(string merk, string type, string omschrijving, int prijs, DateTime bouwdatum,brandstof stof, int leaseKosten, int bijtellingspercentage)
     : base(merk, type, omschrijving, prijs, bouwdatum,stof)
 {
     this.leaseKosten = leaseKosten;
     this.bijtellingspercentage = bijtellingspercentage;
 }