Datasheet
Part I: Getting Started
10
Stub codes are predefined pieces of code that Visual Studio writes for you as a background process.
From the templates shown in Figure 1 - 6 , select the Windows Application template. You should also type
in the name you wish the program to have. I have typed in
TestProgram for our example. Click OK
after you ’ ve entered the program name you wish to use.
The C# Integrated Development Environment
You should now see something like Figure 1 - 7 on your screen. Figure 1 - 7 shows you where you ’ ll be
spending a lot of your programming time as you read this book. It ’ s called the Integrated Development
Environment, or IDE, because virtually every programming tool you need to write C# programs is
available to you there.
Properties Window
Toolbar Window
Solution Explorer Window
Source Window
Run Icon
Figure 1 - 7
Back in the Dark Ages of programming, you had to load and run a programming editor to write the
program ’ s source code. Next, you had to close the editor and load the language compiler program to
check the program ’ s statements for errors. Then you had to load an assembler program to convert the
source code to assembly language. Finally, you had to load and run a linker program to combine all
the elements of your program into an executable program. The Visual Studio IDE provides all of these
functions within a single program. This makes it much easier to write and test the programs you create.
ISBN: 978-0-470-26129-3 I Title: Beginning C# 3.0 : An Introduction to Object Oriented Programming I SKU: 9785CH0009874