Skip to main content
Academy
Beginner Code District

C#

Apps, games and services with .NET.

C# is a modern, type-safe language from Microsoft, and .NET is the free, open-source platform that runs it on Windows, macOS and Linux. With one language you can build web services with ASP.NET Core, games with Unity, and desktop and mobile apps. This course starts from zero with .NET 10 and C# 14: your first program in a single file, variables and types, decisions and loops, methods, then classes and records, lists and LINQ, null safety, async code and a small web API.

Every program in the course was run for real, and every output you see is exactly what it prints.

Lessons
14
Time
2 h
Level
Beginner
  • Bronze open
  • Silver open
  • Gold locked

Ready to prove it?

Three exams are waiting: Bronze, Silver and Gold.

Go to the exams

What you'll be able to do

  • Write and run C# programs, from a single file to a full .NET project
  • Use types, var, string interpolation, loops and switch expressions with confidence
  • Model data with classes and records, and handle null safely
  • Filter, sort and group collections with LINQ
  • Write async code and build a small JSON web API with ASP.NET Core

The journey

  1. 1
    Module 1

    C# basics

    What .NET is, your first program, values and types, decisions, loops and methods.

    0 / 5
  2. 2
    Module 2

    Objects, LINQ and the web

    Classes and records, collections and LINQ, null safety, async code and a minimal web API.

    0 / 5
  3. 3
    Module 3

    Next steps

    Where to go after this course: bigger programs, tests, databases and games.

    0 / 4

Quick navigation