Note : C# is case sensitive and you can use '\n' for create a new line.
the using keyword is used to include the System namespace in the program. A program generally has multiple using statements.
A namespace is a collection of classes. The DemoProgramming namespace contains the class Program.
the class Program contains the data and method definitions that your program uses. Classes generally contain multiple methods. Methods define the behavior of the class. However, the Program class has only one method Main.
Main is the entry point for all C# programs. The Main method states what the class does when executed.
/*...*/ is ignored by the compiler and it is put to add comments in the program.
WriteLine is a method of the Console class defined in the System namespace. This statement causes the message "Hello World" to be displayed on the screen.
Console.ReadKey(); This makes the program wait for a key press and it prevents the screen from running and closing quickly when the program is launched from Visual Studio .NET.
We Are Currently Working On Our Android Application Development and We already have two YouTube channels their name is CodeX or NightHawk. CodeX is for programming related videos and NightHawk is for online game streaming so please supporting us and Subscribe to our channels, Thank you