Hello World! Application
I do not know from when but it has become almost customary to start learning of any programming language with a "Hello World!" Application. ie. to make a program to display the text "Hello World!" on the console screen.
So, we will also start with this approach only. We will write the simplest possible code in C# langauge, using minimum amount of keywords of C sharp. You are advised to type this code yourself into the text editor instead of copying and pasting. This will give you a necessary feel for C#. Here is the sample code:
class HelloWorld
{
void Main()
{
System.Console.WriteLine("Hello World!");
}
}
Type this code into any of your favourite text editors and compile it. Notepad++ is a good editor to start with. It can be downloaded from http://notepad-plus.sourceforge.net . After typing this text, save this file as "helloworld.cs". Now, open the .Net command prompt and go to the directory where you have saved your file. Now, issue the following command:
C:\DotNet> csc helloworld.cs
The code will compile on this command and an executable file helloworld.exe will be created. Now, execute this file. You will get the following output:
C:\DotNet> helloworld.exe Hello World!
This shows that your program is working fine.

![Validate my RSS feed [Valid RSS]](http://www.vshiksha.com/images/valid-rss.png)