Welcome

Learning the [C# 14] Language with .NET 10

created by Anthropic’s AI Claude at the request of Serge Tahé - October 2026


This course teaches the C# 14 language and the .NET 10 platform through examples: more than two hundred programs, most of them short, all commented line by line, with their execution results reproduced. This is a rewrite of the course “Learning the C# Language, Version 3.0 with the .NET 3.5 Framework” (2008): same outline, same examples, same overarching theme, but using today’s C# and tools.

After setting up the development environment (the .NET 10 SDK, VS Code or Visual Studio, and the dotnet command), the book covers the basics of the language, including classes, structures, interfaces, generics, records, and extension members, as well as commonly used .NET classes (collections, LINQ, files, JSON, regular expressions), layered architectures with their MSTest tests and dependency injection, delegates, lambdas, and events, threads, asynchronous programming (async/await), accessing MySQL databases with ADO.NET and Entity Framework Core, TCP and HTTP network programming, and web services with ASP.NET Core.

A common thread runs through the entire course: calculating income tax, built in nine versions, ranging from a simple console program to a TCP server and a REST web service, complete with console and web clients.

Prerequisite: prior programming experience in any language.

All courses from AI Claude and Serge Tahé