C# Tutorial

C# Introduction

What is C#?

C# is the primary language for .NET, Unity games, and enterprise Windows apps.

Why Learn C#?

C# is widely used in industry and education. This tutorial follows a practical, example-driven approach so you can read a concept and try it immediately.

Learning by Examples

Our examples are concise and focused. Edit them in the Try it Yourself editor and observe the result.

Example
using System;

class Program {
  static void Main() {
    Console.WriteLine("Hello from Sturdee");
  }
}
Try it Yourself
Run this CSHARP example in your local environment or course sandbox.