public Tires(AutoBase autoBase)
        {
            _autoBase = autoBase;

            if (_autoBase != null)
            {
                Description = _autoBase.GetDescription() + string.Format(" + Шины {0}", tiresCost);
            }
        }
        public Insurance(AutoBase autoBase)
        {
            _autoBase = autoBase;

            if (_autoBase != null)
            {
                Description = _autoBase.GetDescription() + string.Format(" + Страховка {0}", insuranceCost);
            }
        }
 public static void PrintAuto(AutoBase autoBase)
 {
     Console.WriteLine("**********************************\n");
     Console.WriteLine("Машина {0}\nПолная стоимость составляет {1}$\n", autoBase.GetDescription(), autoBase.GetCost());
     Console.WriteLine("**********************************\n");
 }