2023-10-09 22:54:08 +04:00

29 lines
681 B
C#

using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VisualComponentsLib.Components.SupportClasses
{
public class Car
{
public string Brand { get; set; } = string.Empty;
public string Model { get; set; } = string.Empty;
public int Price { get; set; }
public int YearProduction { get; set; }
public Car(string brand, string model, int price, int yearProduction)
{
Brand = brand;
Model = model;
Price = price;
YearProduction = yearProduction;
}
}
}