29 lines
681 B
C#
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;
|
|
}
|
|
}
|
|
}
|