PetarNeshkov5360

Tire class

Jan 9th, 2021
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4.  
  5. namespace CarManufacturer
  6. {
  7. public class Tire
  8. {
  9. public int Year { get; set; }
  10.  
  11. public double Pressure { get; set; }
  12.  
  13. public Tire(int year, double pressure)
  14. {
  15. this.Year = year;
  16. this.Pressure = pressure;
  17. }
  18. }
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment