//namespace declaration //namespace is a collection of classes namespace HelloWorldApplication {
//class declaration //class generally contain multiple methods,data class HelloWorld {
//Main method is the entry point for all c# programs static void Main(string[] args) { /* my first program in C# */ Console.WriteLine("Hello World"); Console.ReadKey(); } } }