using System.Collections.Generic;
using System.Threading.Tasks;
public string Name { get; set; }
public string EngineType { get; set; }
public int Mileage { get; set; }
Console.WriteLine(Name + "starting...");
Console.WriteLine(Name + "has stopped.");
public class Car : Vehicle
public Car(string carName)
public string Type { get; set; }
public static void Main(string[] args)
Car myCar = new Car("Honda Brio");
myCar.EngineType = "unleaded gas";
Console.WriteLine("{0} has {1} engine type with {2} mileage.", myCar.Name, myCar.EngineType, myCar.Mileage);