In this recipe, you will be given an introduction to Object-Oriented Programming. Since this is half theory, half practice, not all of the steps will give you instructions/code that you need to execute.
Introduction to Object-Oriented Programming
Getting ready
Download and start an editor you are comfortable with. For the best experience, try Visual Studio Code, which is free and open source: https://code.visualstudio.com/.
How to do it...
Perform the following steps:
- Open your favorite editor and examine the following C# code:
namespace Vehicle
{
public class Car
...