public static void Main()
Console.WriteLine("Въведете марка:");
myCar.brand = Console.ReadLine();
Console.WriteLine("Въведете модел:");
myCar.model = Console.ReadLine();
Console.WriteLine("Въведете обем на двигателя:");
myCar.engineVolume =int.Parse(Console.ReadLine());
Console.WriteLine("Въведете година на производство:");
myCar.yearProd = int.Parse(Console.ReadLine());
double danak = 0.2*myCar.engineVolume;
else if(myCar.yearProd<=2010)
Console.WriteLine("Данък на {0}{1}" , myCar.brand, myCar.model);
Console.WriteLine("С обем на двигателя {0}", myCar.engineVolume);
Console.WriteLine("Произведен през {0} година", myCar.yearProd);
Console.WriteLine("е {0,6:###.## лева}" , danak);
set{this.engineVolume = value;}
get{return this.engineVolume}