Skip to main content
WebsitebeginnerFree

C# language documentation

by Bill Wagner and the dotnet/docs contributors · Microsoft Learn

Microsoft's official C# guide: a tour of the language, fundamentals, tutorials, dedicated LINQ and asynchronous programming sections, plus the complete language reference and specification. Revised with every release, currently documenting C# 15. The only C# reference that is guaranteed current with each release, and the single starting point that removes the need to pick among tutorial sites.

Visit resource

More resources on C# & .NET

PodcastFree

The Modern .NET Show

Fortnightly interview podcast, formerly The .NET Core Podcast, in which .NET practitioners discuss C#, ASP.NET Core, cloud-native deployment, testing, performance and developer tooling. Listeners keep current with the modern .NET ecosystem and hear how experienced engineers apply it in production.

YouTubeFree

Nick Chapsas (YouTube)

Regular videos on current .NET from a Microsoft MVP: performance benchmarks, new language and runtime features as they ship, testing, dependency injection, and blunt critiques of widely used libraries. Code-heavy, typically ten to twenty minutes.

WebsiteFree

How Async/Await Really Works in C#

Traces C# asynchrony from the Begin/End and event-based patterns through Task, ValueTask, and the compiler-generated state machine, with decompiled code showing exactly what await expands into and how ExecutionContext flows.

BookPaid

Concurrency in C# Cookbook, 2nd Edition

Eighty-five recipes for asynchronous, parallel, reactive and dataflow code in C#: async/await patterns, cancellation, progress reporting, TPL Dataflow, System.Reactive, unit testing concurrency, and the deadlocks caused by mixing blocking and asynchronous calls. Async is where C# learners actually get hurt, and this is the only prescriptive, tested treatment of it.

BookPaid

ASP.NET Core in Action, Third Edition

Builds server-side .NET web applications step by step: minimal APIs, Razor Pages, middleware, dependency injection, configuration, Entity Framework Core, authentication, and testing. Targets ASP.NET Core 7; nearly all of it applies to later releases.

BookPaid

C# 12 in a Nutshell: The Definitive Reference

Reference covering the whole language plus core .NET libraries: type system, generics, LINQ internals, spans and memory, async, threading, serialization, and interop. Written for people who already program; this edition targets C# 12 and .NET 8.

See all C# & .NET resources →