• Have Any Question?
  • contact@eitworld.com

csharp.net create project





In this section we will study “How to create a project in C#.NET?” The steps to create a project in C#.NET are given below:

    • Open Microsoft Visual Studio 2010.
    • Now click on File->New project as shown in the diagram given below:

    • This will open a New Project dialog box in front of you as given in the following figure:

    • You can create console, web, WCF Services, Windows and so many applications in C#.NET. Here we are going to create a Windows Application so select Visual C# and Windows Forms Application from the pane and give it a name as “First Project” as shown in the figure given below:
    • Now Click on OK button. This will create a project containing a single Windows form with the file name as Form1.C# as shown in figure.

  • You can place a control on the form to develop a meaningful application and you can also rename the form.

Saving a C#.NET Project

In this section we will study “How to save a project in C#.NET?”
You can save a project by any of the following ways:

    • Click on File-> Save All
    • OR

    • Click on the button from the standard toolbar.
    • This will open a “Save Project” dialog box in front of you as given in the following diagram:

Now provide the name for your location and also select the location where you want to save your project. Solution name would be same as the Name. At last click on the Save button this will save your project at the specified location.

Executing a C#.NET Project

In this section we will study “How to execute a project in C#.NET?”
You can execute a project by any of the following ways:

  • Select Debug-> Start Debugging from menu bar.
  • OR

  • Click on the button from the standard toolbar.
  • Or

  • Press key F5.


Real Time Web Analytics