public string Name { get; set; }
public string EngineType { get; set; }
public int Mileage { get; set; }
Console.WriteLine(Name + " is starting...");
Console.WriteLine(Name + " has stopped.");
public class Car : Vehicle
public Car(string carName)
public string Type { get; set; }
public static void Main()
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);