Now create a project as we created earlier, go to Solution Explorer, right-click on the name of the website, select Add, and click on Class. Name the class Vector and click on OK. When the Visual Studio message comes up, click on Yes.
Now, Vector is just a collection of numerical values for our purposes, so we have to define what it means to add them. The section of the Vector class where we'll begin our work looks like the following screenshot:
You know because somebody told you when you were very young that the number 2 followed by a plus symbol and 4 is 6. Enter the following at the very top of the Vector class:
//2+4=6
You also know that in the context of C#, something like "Hello"+" World" yields a new string that says "Hello World". Enter this line...