August 2010
Intermediate to advanced
1224 pages
34h 17m
English
Because the code editor’s primary purpose is “word processing” for source code, let’s first look at writing the simplest of routines—a “Hello, World” function—from the ground up using the code editor.
Figure 6.4 shows a code editor with an initial stubbed-out console file. This was produced by creating a new Visual C# Console project using the Solution Explorer. Double-clicking on the Program.cs file within that new project displays the source code for this console application.
Figure 6.4 Code template for a console code file.

As you can see, Visual Studio, as a result of the template used for creating the project, ...