Creating a Console Application
As our first exercise in using Visual Studio, we will create a simple console application. Our program Bytes will attempt to calculate how many bytes are in a kilobyte, a megabyte, a gigabyte, and a terabyte. If you want to follow along on your PC as you read, you can use the Demos directory for this chapter. The first version is in Bytes\Version1. A final version can be found in Bytes\Version3.
Creating a VB.NET Project
From the Visual Studio main menu, choose File | New | Project…. This will bring up the New Project dialog.
For Project Types, choose Visual Basic Projects, and for Templates, choose Empty Project. ...