Omar Tharwat

Omar Tharwat

  • NA
  • 6
  • 2.3k

Could Someone Help Me with that Task

Oct 8 2015 4:57 PM
Write a C# console application which builds a single list of vehicles from any appropriate source and then prints the details of all the vehicles in the list out to the console. A vehicle can be one of 3 types: Car, Motorbike, Boat All 3 types have the following, common properties: Engine, Manufacturer, Model Each vehicle also has properties which are unique to each vehicle type. For example, a car has 4 wheels, a motorbike has 2 and a boat has a propeller. Demonstrate a suitable approach to create and display this data for each vehicle then output the make, model (and any other relevant details) for each vehicle to the console.

Answers (2)