CHAPTER 2 BUILDING C# APPLICATIONS
Targeting the .NET Framework Using the New Project Dialog Box
If you are following along, create a new C# Console Application (named VsExample) using the File
New Project menu item. As you can see in Figure 2-8, Visual Studio supports the ability to select which
version of the .NET Framework you wish to build against (2.0, 3.0, 3.5, 4.0, or 4.5) using the drop-down
list box on the top-center of the New Project dialog box. For each project in this text, you can simply
leave the default selection of .NET Framework 4.5.
Figure 2-8. Visual Studio allows you to target a particular version of the .NET Framework
Using the Solution Explorer Utility
The Solution Explorer utility (accessible from the View menu) allows you to view the set of all content
files and referenced assemblies that comprise the current project (see Figure 2-9). Also notice, that you
can expand a given file (such as Program.cs) to see the code types defined within the file in question. As
you move through this text, I’ll point out other useful features of the Solution Explorer where necessary;
however, feel free to take some time to tinker with each option, if you so choose.
54