Learn C#.
Six chapters covering .NET programs, control flow, methods and collections, object-oriented design, interfaces, generics, LINQ, files, exceptions, async, and testing.
C# curriculum
Build clear .NET applications with strong types, objects, LINQ, files, and asynchronous work.
.NET Programs, Types & Input
Understand the .NET execution model and write strongly typed console programs with variables, conversions, calculations, and validated input.
Open chapter →CSHARP02Conditionals, Patterns & Loops
Control execution with boolean logic, switch expressions, loops, pattern matching, and careful boundary handling.
Open chapter →CSHARP03Methods, Arrays & Collections
Decompose behavior into methods and work effectively with arrays, lists, dictionaries, sets, and collection transformations.
Open chapter →CSHARP04Classes, Records & Object-Oriented Design
Model valid objects with classes and records, encapsulate state, use inheritance carefully, and compose focused behavior.
Open chapter →CSHARP05Interfaces, Generics & LINQ
Design abstractions with interfaces, write reusable generic code, and query in-memory data with expressive LINQ pipelines.
Open chapter →CSHARP06Files, Exceptions, Async & Testing
Persist structured data, handle failures intentionally, perform asynchronous I/O, and verify behavior with automated tests.
Open chapter →