static void Main() { Console.WriteLine("****** c# CarLibrary client app ******"); SportsCar viper = new SportsCar("Viper", 240, 40); viper.TurboBoost(); MiniVan mv = new MiniVan(); mv.TurboBoost(); }
static void Main(string[] args) { SportsCar viper = new SportsCar("Viper", 240, 40); viper.TurboBoost(); MiniVan mv = new MiniVan(); mv.TurboBoost(); Console.ReadLine(); }
static void Main(string[] args) { Console.WriteLine("***** C# CarLibrary Client App *****\n"); SportsCar viper = new SportsCar("Viper", 240, 40); viper.TurboBoost(); MiniVan mv = new MiniVan(); mv.TurboBoost(); Console.ReadLine(); }
static void Main(string[] args) { Console.WriteLine("***** C# CarLibrary Client App *****"); // Make a sports car. SportsCar viper = new SportsCar("Viper", 240, 40); viper.TurboBoost(); // Make a minivan. MiniVan mv = new MiniVan(); mv.TurboBoost(); Console.WriteLine("Done. Press any key to terminate"); Console.ReadLine(); }