C#

Hello World in C#

Have you ever wanted to reach the first milestone in programming by writing a Hello World application in C#? Well I am going to show you the script to produce the program.

I was asked by a member of our helpdesk team how he could become a programmer. I answered that he should start with the Hello World program in C# which was the first milestone all programmers had to accomplish before becoming programming gurus.

After he downloaded and installed Visual Studio 2012 Express I wrote the below script to show him how easy it was start programming and that he should just practice practice practice.

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

 

namespace HelloWorld

{

class Program

{

static void Main(string[] args)

{

Console.WriteLine(“Hello World”);

Console.ReadLine();

}

}

}

 

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.