C# 9 Learning Notes


  • C# is a case sensitive programming language.
  • We need to add semi-colon at the end of each command.
  • To comment out code we use //


We use Console.WriteLine to print output to the screen as a new line as shown in the following example:

Console.WriteLine("Hello World!");

We use Console.Write to print to the screen without using a new line.

Console.Write("Hello World!");