By Ashwin Venugopal
Let’s have a look at the below C# program.
// Namespace Declaration
public static void Main()
// Write to console
Console.WriteLine ("Welcome to BinaryTitans and you are learning C# from Ashwin");
What is using System declaration?
The namespace declaration, using System, indicates that you are using the System namespace.
If you decide not to write using System, declaration, then you have to use the fully qualified name of the Console class (You got to write System.Console.WriteLine).
A namespace is used to organize your code and is a collection of classes, interfaces, structs, enums and delegates.
What is Main() method?
Main method is the entry point into your application.