Advertisement
BSO90

Tire.Cs

Oct 8th, 2021
1,008
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 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 Tire(int year, double pressure)
  10.         {
  11.             Year = year;
  12.             Pressure = pressure;
  13.         }
  14.  
  15.         public int Year { get; set; }
  16.         public double Pressure { get; set; }
  17.     }
  18. }
  19.  
  20.        
  21.  
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement