PART I
C h a p t e r 2 :
A n O v e r v i e w o f C #
19
PART IPART I
7. Compile the program by selecting Build Solution from the Build menu.
8. Run the program by selecting Start Without Debugging from the Debug menu.
When you run the program, you will see the window shown here.
As the preceding instructions show, compiling short sample programs using the IDE
involves a number of steps. However, you don’t need to create a new project for each
example program in this book. Instead, you can use the same C# project. Just delete the
current source file and add the new file. Then recompile and run. This approach greatly
simplifies the process. Understand, however, that for real-world applications, each program
will use its own project.
Do'stlaringiz bilan baham: |