20 Eylül 2014 Cumartesi

C# - How to Create a New Project!

Today, I am going to show you how to create a new project in C#.

1. First things first, you need to install Visual Studio to your computer.

2. After the installation finished please open the Visual Studio. A window will show up and request you to choose a default collection of settings. There is a reason for Visual Studio to ask something like that. Here is why he need to ask it: Visual Basic, C++, C# and Web Development tools have different tools and they are located in a different places in the studio's window.

3. For developing C# programs, you need to choose Visual C# Development Settings as you can see in the first screenshot:

1

4. When you press the finish button the Visual Studio program will open. You can work on multiple programming language on this program. C# is only one of them. You can create any application of Visual Basic, C, C++, C#, F#, ASP.Net and Windows Phone from that portal. Once the studio opens, please Press New button at the top-left of the window and then New >> Project as shown below.

2

5. A new window will appear when you click the New Project option. At the left side of the window, you can select which programming language you will use and some other options like setup project to create a setup file from your project and so on. At the right side of the window (next to the project types side) you will see Templates section. At the top-right side, you will see a combo box which you can select the framework for your project. There are several .Net Framework like 2.0, 3.0, 3.5, 4.0 etc. It is a totally different subject so I won't explain it briefly. And finally at the bottom of the window you will see Name and Location sections. You can give a name to your project by name section and you can determine the location that your project will create on to. Firstly, please choose Visual C# section and then Windows in the Project Types section. Secondly, select Windows Forms Application from the Templates section then give a name to your project and choose a location if it is necessary for you. If you don't select any place, your project will be created into the default place which is in Your Documents folder.

3

6. And you are ready to go. Your project is created and you can start discovering. One last clue: When you create a new C# project a new blank window form will be created as Form1. If you want to rename its name, you can select Form1.cs in the Solution Explorer section and change its name from its Properties window like MainForm or MyForm etc.

4

Share

& Comment

0 yorum:

Yorum Gönder

 

Copyright © 2015 Papiculo !™ is a registered trademark.

Designed by Templateism. Hosted on Blogger Platform.