Guest User

Untitled

a guest
Jan 23rd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Fahrzeugverwaltung
  8. {
  9. class Fahrzeuge
  10. {
  11. public string Hersteller { get; set; }
  12. public string Modell { get; set; }
  13. public string Kennzeichen { get; set; }
  14. public int Erstzulassung { get; set; }
  15. public double Anschaffungspreis { get; set; }
  16.  
  17. public Fahrzeuge(string hersteller, string modell, string kennzeichen, int erstzulassung, double anschaffungspreis)
  18. {
  19. this.Hersteller = hersteller;
  20. this.Modell = modell;
  21. this.Kennzeichen = kennzeichen;
  22. this.Erstzulassung = erstzulassung;
  23. this.Anschaffungspreis = anschaffungspreis;
  24. }
  25.  
  26. public Parkhaus FahrzeugParken { get; set; }
  27.  
  28.  
  29.  
  30. }
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. }
Add Comment
Please, Sign In to add comment