Tuesday 22 July 2014

Simple C# Program

Using System Declaration

The namespace declaration, using System,indicates that you are using the System namespace.
A Namespace is used to organize your code and is collection of classes, interfaces, structs, enums and delegates.

   
    
 Using System;
 Class Program
{
static Void Main()
{
Console.WriteLine("Welcome to C# Training");

}

}
       
 

Output

Three Methods to get the output
1. Go to Vistual Studio
2. On the Top Menu bar find the Debug Menu
3. Click on Start Debugging or Start Without Debugging
4. Now Get the output.

No comments:

Post a Comment