static void Main(string[] args) { Auto auto = new Auto(); auto.AutoInfo(); SportCar sportCar = new SportCar(); sportCar.SportCarInfo(); Console.ReadKey(); }
static void Main() { Auto babyAuto = new Auto(); babyAuto.AutoInfo(); SportCar sportMan = new SportCar(); sportMan.SportCarInfo(); MiniCar styleIsEverything = new MiniCar(); styleIsEverything.MiniCarInfo(); Console.ReadLine(); }