Question: 1. Create a new console application project and name it Week03. 2. Add another project of type class library names packtLibrary into the same solution.

1. Create a new console application project and name it Week03.

2. Add another project of type class library names packtLibrary into the same solution.

3. Add the reference of this library in your console application.

4. In the packLibrary perform following a. Add new class named Vehicle. b. Add two properties string color and double UnitPrice c. Add constructor to initialize these properties. d. Add Method name displayInfo which will display all the properties of vehicle class. public void displayInfo()

5. In you console application. Perform following: a. Initialize two objects one using properties and other one using constructors. b. Display the information from both the objects.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!