Write your first code using C#
Writing the Code: The user writes the C# code into the .NET Editor Output Display: The Console.WriteLine() function outputs the specified text ("Hello World!") to the console. // Marks the rest of the line as a code comment. Console.WriteLine("Hello World!"); prints out "Hello World!" to the console, but since it's commented out, it is ignored and the program will run but produce no output because nothing is executed. Add three new lines of code to show the difference between the Console.WriteLine() and Console.Write methods. Console.WriteLine() prints a message to the console. At the end of the line, it adds a line feed similar to pressing Enter or Return to create a new line. To print to the output console, without adding a line feed at the end, use the second technique, Console.Write(). So, the next call to Console.Write() prints another message to the same line.

Writing the Code: The user writes the C# code into the .NET Editor
Output Display: The Console.WriteLine() function outputs the specified text ("Hello World!") to the console.
// Marks the rest of the line as a code comment.
Console.WriteLine("Hello World!"); prints out "Hello World!" to the console, but since it's commented out, it is ignored and the program will run but produce no output because nothing is executed.
Add three new lines of code to show the difference between the Console.WriteLine() and Console.Write methods.
Console.WriteLine() prints a message to the console. At the end of the line, it adds a line feed similar to pressing Enter or Return to create a new line.
To print to the output console, without adding a line feed at the end, use the second technique, Console.Write(). So, the next call to Console.Write() prints another message to the same line.