The basic HTML for this project is shown in the following screenshot:
Figure 6.15.1: The starting HTML for our project in this lesson
The basic HTML for this project is shown in the following screenshot:
The first step is to make a class file. Go to Solution Explorer as usual, right-click on the name of the website, select Add, and click on Class. Name the class Car and click on OK. When the Visual Studio message comes up, click on Yes.
There it is! The section of the Car class where we'll begin our work looks like the following screenshot:
As in the previous lesson, we will make a relatively simple class called Car using automatic properties to save time. So, enter...