TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Omar Tharwat
NA
6
2.3k
C# Console application Can someone help me out!
Oct 8 2015 7:28 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
Should i use Enum For car manifacturer if yes how can i do so with properties?
Should i make the base class as an abstract Class?
Should i override My properties?
Should i use Interfaces or properties for Engine ?
Can someone please provide a code sample, i would be very thankful
Reply
Answers (
2
)
Could Someone Help Me with that Task
Write a statement