static void Main() { MotorCar car = new MotorCar(new Person("Jenson"), new Engine { Capacity = 1600 }); Console.WriteLine(car); }
private static void InMemory() { MotorCar car = new MotorCar(new Person("Jenson"), new Engine { Capacity = 1600 }); Console.WriteLine(car); }