How to write your first software in C#

Last updated on May 8th, 2017 at 01:50 pm

cover - How to write your first software in C#
Writing your first software in C# is simple, follow these simple steps.

Tools required Visual Studio

1. From Start menu, open Visual Studio

develop your first software in C# - Open Visual Studio

 

2. In the Welcome screen, select New Project …

sviluppare il tuo primo software in C# - Nuovo progetto

 

3. Give a name for project

write your first software in C# - Give a name to the project

 

4. Choose the type of framework to be used, then OK

write your first software in C# - select the framework

 

5. From the left menu The Toolbox, drag a button inside the form

write your first software in C# - drag a button from the toolbox

 

6. Double click on the Button1 inside the form to display the code

write  your first software in C# - Double click on the button to display the code

 

7. Insert within button1_Click code below

    MessageBox.Show("Hello world, this is your first app");

 

8. Test the executable by pressing the Play button

write your first software in C# - Test your application

 

9. Press the Button1 button

write your first software in C# - Display the Hello World message

 

Congratulations you are able to build your first software in C#

WikiRails Team

Staff WikiRails