Write your first C# code


Get started by writing code examples to learn the basics of the C# syntax!

Learning objectives

After you complete this module, you'll be able to:

  • Write your first lines of C# code
  • Use two different techniques to print a message to a text console
  • Diagnose errors when you type code incorrectly
  • Identify different C# syntax elements like operators, classes, and methods