Introduction

Why C#?

C# is one of the most versatile languages in modern software development. It powers Windows applications, Unity games, ASP.NET web services, and cloud-scale backends at Microsoft, Spotify, and Stack Overflow. With a clean syntax, strong type system, and the full .NET ecosystem behind it, C# is an excellent first or second language for serious programmers.

  • Statically typed — types are checked at compile time, catching entire classes of bugs before they reach production.
  • Object-oriented — classes, interfaces, inheritance, and generics form the backbone of C# design.
  • LINQ — Language Integrated Query lets you filter, transform, and aggregate collections with a declarative, SQL-like syntax built right into the language.
  • Async/await — first-class support for asynchronous programming, making it easy to build responsive apps and scalable services.
  • Huge ecosystem — NuGet has over 300,000 packages. Entity Framework, ASP.NET Core, Blazor, Unity — the ecosystem covers everything.

What You Will Learn

This course has 15 lessons organized into 5 chapters:

  1. Basics — Hello World, variables and types, and string interpolation.
  2. Control Flow — Conditionals, switch expressions, and loops.
  3. Collections — Arrays, lists, and dictionaries.
  4. OOP — Methods, classes, properties, inheritance, and interfaces.
  5. Advanced — LINQ for querying collections.

All code runs in-browser via WasmSharp — the .NET runtime compiled to WebAssembly — so there's nothing to install.

Next →