About
The complete C# Key tutorial library
C# Key is a long-running, plain-spoken tutorial library for C#, Visual C# and ASP.NET. It was written to teach by doing: every lesson walks through a real project step by step, then shows the code that makes it work. This is that library — all of it — rebuilt as a modern, fast, searchable documentation site.
- 757
- Lessons
- 21
- Sections
- 10,788
- Code samples
- 967,689
- Words of prose
What is inside
The library holds 757 lessons in 21 sections, grouped into 4 tracks. Every lesson keeps its original text and its original code, in the original order — nothing has been summarised, shortened or rewritten.
- Desktop Development — Windows Forms and Visual C# — build real desktop applications. (376 lessons across 3 sections)
- The C# Language — Learn the language itself, from variables to LINQ. (225 lessons across 3 sections)
- Web Development — ASP.NET, MVC and the web fundamentals behind them. (150 lessons across 9 sections)
- Data & Databases — Collections, ADO.NET, LINQ, XML and the Entity Framework. (6 lessons across 6 sections)
How the lessons are organised
Each section is a numbered series. Within a section, lessons follow the order they were written in, and every lesson carries previous and next links so you can read a series end to end without going back to the index. The sidebar on any lesson shows the full list for its section, with a filter box for jumping straight to a title.
Code is the centre of gravity here: 10,788 samples are presented with C# syntax highlighting, line numbers and a one-click copy button, and they scroll horizontally rather than wrapping so the formatting stays exactly as written.
How the site is built
Every page is generated ahead of time as static HTML, so lessons load instantly and stay readable on any connection. There is no account, no paywall, no advertising and no third-party tracking script anywhere on the site. Light and dark themes follow your system preference and can be overridden with the toggle in the header — your choice is remembered.
Search runs entirely in your browser against a single index file, which is why it works without a round trip to a server. Press ⌘K (or Ctrl+K) anywhere to open the command palette.
Static and fast
Pre-rendered HTML for all 757 lessons, no client-side rendering of content.
No tracking
No analytics, no cookies for advertising, no third-party embeds.
Accessible
Keyboard navigation, skip links, visible focus states and reduced-motion support.

