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.
It's a special area where you can find special questions and answers for CSE students or IT professionals. Also, In this section, we try to explain a topic in a very deep way.