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.
- From Beginner to Intermediate30 min · Read, predict and practice
- Inheritance30 min · Read, predict and practice
- Interfaces30 min · Read, predict and practice
- 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.
- Generic Methods and Classes30 min · Read, predict and practice
- Generic Constraints30 min · Read, predict and practice
- Choosing a Collection30 min · Read, predict and practice
- 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.
- Delegates and Lambdas30 min · Read, predict and practice
- LINQ Basics30 min · Read, predict and practice
- Grouping and Deferred Execution30 min · Read, predict and practice
- 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.
- Nullable Reference Types25 min · Read, predict and practice
- Pattern Matching35 min · Read, predict and practice
- Designing with Exceptions30 min · Read, predict and practice
- 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.
- Files and using30 min · Read, predict and practice
- Streams and Text Formats30 min · Read, predict and practice
- JSON with System.Text.Json30 min · Read, predict and practice
- Checkpoint: Saving Safely30 min · Independent checkpoint
Day 6 · About 120 minutes
Testable Design
Inject dependencies, fake the clock and check behaviour in tables.
- Passing In What You Depend On30 min · Read, predict and practice
- Dates and a Fake Clock30 min · Read, predict and practice
- Extension Methods30 min · Read, predict and practice
- 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.
- Project Brief: Task Tracker15 min · Read, predict and practice
- Assemble the Task Tracker20 min · Read, predict and practice
- Test the Tracker20 min · Read, predict and practice
- Extend and Download the Tracker20 min · Read, predict and practice
- On Your Own: An Expense Ledger45 min · Independent checkpoint
- Come Back Later30 min · Extra delayed review