Skip to content

Curriculum / C#

C#.

The language that teaches you what types and classes are for, without making you fight the compiler for a week first. Also: Unity.

status
Outlined, not written
file
lesson-01.cs
first project
A console game you can lose

Why this one

It’s strict in useful ways. The editor tells you what’s wrong before you run anything, and that habit sticks.

If games or desktop apps are the reason you’re here, this is the door.

Honest status

Planned. Sequencing still under discussion.

What it looks like

example.csdraft snippet
1string[] steps = { "read", "type", "build" };
2
3foreach (var step in steps)
4{
5 Console.WriteLine($"{step} → done");
6}

The first eight lessons

outline · will change
  1. 01Console.WriteLine, and a program that ends
  2. 02Types, and why the compiler cares
  3. 03Collections and foreach
  4. 04Methods, parameters, returns
  5. 05Classes as nouns, methods as verbs
  6. 06null, and the trouble with it
  7. 07Reading input without crashing
  8. 08A tiny state machine

Project at the end

A console game you can lose

Guess a number, get a hint, run out of tries. Then you refactor it into classes and understand why anyone bothers.

Want C# sooner?

Join the waitlist and vote for it on the curriculum page. We do actually read the tally.

Join the waitlist