DEFCOM1  
 

C# Lesson 1 – Hello World

Open Visual C# Express

Click the Create a new project button


Select Console application and give it the name helloworld

 

You will now see the basic framework of a C# program

 

After the static void main line add the following lines.

 

Now Press 'F5' to compile and run your first C# program

Well done :)