Write your first C# code
Beginner
Developer
.NET
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
Display messages in the console by using
Console.WriteLine()andConsole.Write()Accept user input by using
Console.ReadLine()Combine text and variables by using concatenation and string interpolation
Prerequisites
None