Skip to content

C# / Intermediate · Free public pilot

Intermediate C# in 7 Days

Design with interfaces and generics, query data with LINQ and build a tested task tracker. Read, predict, run, change and explain each program.

Start your first lesson →

Build on C# beginner. Take your own time.

Know methods, lists, dictionaries, classes, records and input validation first. No account or installation required. Allow about two hours per day including practice; these are author estimates. Split days across sessions freely.

All 30 lessons are open as a pilot. C# 14 compiles with the real Roslyn compiler and runs on .NET WebAssembly in code-playpad, which is experimental. The first Run downloads about 14 MB, then caches the compiler. Input must be supplied before Run, and files last only for one Run. Stop ends a long run.

Each day ends with independent practice. Hints offer an idea, then a first step, before a worked solution. Day 7 includes a downloadable project and optional local instructions. Completion is saved only in this browser. Return a few days later for the final review.

Learn inheritance and interfaces, generic types, delegates, LINQ, pattern matching, Result types, files, JSON and dependency injection, then build a multi-file task tracker that saves its data.

Comfortable with LINQ and testable design? Continue with Advanced C# →

Day 1 · About 120 minutes

Interfaces and Inheritance

Model shared behaviour and choose between an interface and a base class.

  1. From Beginner to Intermediate30 min · Read, predict and practice
  2. Inheritance30 min · Read, predict and practice
  3. Interfaces30 min · Read, predict and practice
  4. Checkpoint: Rules as Objects30 min · Independent checkpoint

Day 2 · About 120 minutes

Generics and Collections

Write reusable generic types and pick the right collection for the job.

  1. Generic Methods and Classes30 min · Read, predict and practice
  2. Generic Constraints30 min · Read, predict and practice
  3. Choosing a Collection30 min · Read, predict and practice
  4. Checkpoint: Iterators with yield30 min · Independent checkpoint

Day 3 · About 120 minutes

Delegates and LINQ

Pass behaviour as values and answer questions about data with LINQ.

  1. Delegates and Lambdas30 min · Read, predict and practice
  2. LINQ Basics30 min · Read, predict and practice
  3. Grouping and Deferred Execution30 min · Read, predict and practice
  4. Checkpoint: Log Analysis30 min · Independent checkpoint

Day 4 · About 120 minutes

Nulls, Patterns and Errors

Model absence and failure so the compiler helps you handle them.

  1. Nullable Reference Types25 min · Read, predict and practice
  2. Pattern Matching35 min · Read, predict and practice
  3. Designing with Exceptions30 min · Read, predict and practice
  4. Checkpoint: A Result Type30 min · Independent checkpoint

Day 5 · About 120 minutes

Files and JSON

Save and load data safely, and survive files that are missing or damaged.

  1. Files and using30 min · Read, predict and practice
  2. Streams and Text Formats30 min · Read, predict and practice
  3. JSON with System.Text.Json30 min · Read, predict and practice
  4. Checkpoint: Saving Safely30 min · Independent checkpoint

Day 6 · About 120 minutes

Testable Design

Inject dependencies, fake the clock and check behaviour in tables.

  1. Passing In What You Depend On30 min · Read, predict and practice
  2. Dates and a Fake Clock30 min · Read, predict and practice
  3. Extension Methods30 min · Read, predict and practice
  4. Checkpoint: Table-Driven Checks30 min · Independent checkpoint

Day 7 · About 120 minutes

Ship the Task Tracker

Test, extend and download a task tracker, then solve a fresh brief.

  1. Project Brief: Task Tracker15 min · Read, predict and practice
  2. Assemble the Task Tracker20 min · Read, predict and practice
  3. Test the Tracker20 min · Read, predict and practice
  4. Extend and Download the Tracker20 min · Read, predict and practice
  5. On Your Own: An Expense Ledger45 min · Independent checkpoint
  6. Come Back Later30 min · Extra delayed review