In this video, we will discuss
1. Basic structure of a C# program.
2. What is a Namespace.
3. Purpose of Main method.
Sample program used in the demo
// Namespace Declaration
public static void Main()
// Write to console
Console.WriteLine ("Welcome to PRAGIM Technologies!");
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. Main method is the entry point into your application.