Question
In C# window Form Add a class library project (VehiclesLib) To the Library project Add class: Vehicle (_make, _model, _year, _price, _vin), Add constructor and
In C# window Form Add a class library project (VehiclesLib) To the Library project
Add class: Vehicle (_make, _model, _year, _price, _vin), Add constructor and get properties, Method: UpdatePrice(decimal newPrice).
Then Add a class: Person (_firstname, _lastname, List vehicleList), Add constructor, get properties, Method: Add(Vehicle v), Method: Remove(string vin) (remove by vin number)
In Form1: create a list of person, preload the list with at least 7 people to each add at least 2 vehicles, provide gui to display all the people and their vehicles, provide gui to add a vehicle to a person, provide gui to update the price of a vehicle of a person, provide gui to remove (sell) a car of a person.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started