![]() |
A Project |
To create a computer program, also called an application, you create a series of files and group them in an ensemble called a project. This contains various types of files, such as code files, assemblies (or libraries), and resource files. |
To create most of the files you need for an application, you don't need Microsoft Visual C#. In fact, you can use Notepad to create a completely functional application. All you need is to have the whole .NET Framework, which is freely downloadable from the Microsoft web site. When using this approach, you can use Notepad (or any other text editor) to write your code, save each document appropriately in the folder you would have designated.
A typical application consists of more than one code file and can even be as complex as you want. To make it faster and a little easier to graphically create an application, you would need a good functioning environment like Microsoft Visual C#. Using it, you can create a new project or you can open an existing one. To create a Visual C# project, you can display the New Project dialog box. To open the New Project dialog box:
In the New Project dialog box, select Visual C# Projects, select the type of project, give it a name, specify its directory, and click OK.
The instructions created for a Visual C# project are written in plain English in a language easily recognizable to the human eye. After creating the file(s) of a project, you would compile the project to get an executable that becomes ready to be distributed to your users. To compile and execute a project in one step, on the main menu, you can click Debug -> Start Without Debugging. Although there are other techniques or details in compiling (or debugging) and executing a project, for now, this is the only technique we will use until further notice.
As opposed to creating a new project, you can open a project that either you or someone else created. To open an existing project:
This action would display the Open Project dialog box. This allows you to select a project and open it. |
|
|
||
| Previous | Copyright © 2007 FunctionX, Inc. | Next |
|
|
||