Let's bring up a project. The basic HTML for this project is shown in the following screenshot:
Figure 6.6.1:
Let's bring up a project. The basic HTML for this project is shown in the following screenshot:
So, we're going to talk about vehicles and sedans in particular. What I want you to do is this: Go to Solution Explorer, right-click on the name of the website, select Add, and then click on Class. Name the class Vehicle, then click on OK. When the Visual Studio message comes up, click on Yes. Bring it into the project. The initial Vehicle class code is shown in the following screenshot:
Now, for every vehicle, there's a make, right? Enter the following beneath the open curly bracket...