svetlyoek

Untitled

Jun 4th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4.  
  5. namespace CarManufacturer
  6. {
  7. public class StartUp
  8. {
  9. public static void Main(string[] args)
  10. {
  11.  
  12. var car = new Car();
  13.  
  14. car.Make = "VW";
  15. car.Model = "MK3";
  16. car.Year = 1992;
  17. car.FuelQuantity = 200;
  18. car.FuelConsumption = 200;
  19. car.Drive(2000);
  20. Console.WriteLine(car.WhoAmI());
  21. }
  22.  
  23. }
  24. }
Add Comment
Please, Sign In to add comment