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.
Currently we improved our website User Interface and other contents. Our next update is adding video tutorials on this site so, We create a new YouTube channel, our YouTube channel name is CodeX.
We need some time for make video tutorials (CodeX) so, stay with us and keep supporting and you know already we make a Collaboration with HackIsOn YouTube channel long time ago So, please Subscribe Our Channels