C# Get Started
Install the .NET SDK, then create a project with dotnet new console and run it with dotnet run. Modern C# allows top level statements, so a program can be a single line.
Example
// Terminal:
// dotnet new console -n Hello
// cd Hello
// dotnet run
Console.WriteLine("Hello World");Exercise
Run the project.
dotnet Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.