Essential C#

Welcome to Essential C#

Written by Mark Michaelis

with Eric Lippert & Kevin Bost

"Welcome to one of the most venerable and trusted franchises you could dream of in the world of C# books—and probably far beyond!"

— From the Foreword by Mads Torgersen,

C# Lead Designer,


The comprehensive, expert guide to C# language programming

Essential C# is a well-organized, no-fluff guide to C# for programmers at all levels of experience. Reflecting the most important C# features from 3.0 through 8.0 and including modern programming patterns, it will help you write code that’s simple, powerful, robust, secure, and maintainable. World-class C# expert Mark Michaelis presents a complete tutorial and reference for the entire language, including expert coverage of key C# enhancements, C#’s use with .NET Core/.NET Standard, and cross-platform compilation. He illustrates key C# constructs with succinct examples, and presents best-practice coding guidelines.

High Level Mind Map
Web Features Coming Soon
Client-side Compiler
Write, compile, and run code snippets right from your browser. Enjoy hands-on experience with the code as you go through the site.
Interactive Code Listings
Edit, compile, and run the code listings found throughout Essential C#.
Full Text Search
Search for keywords and phrases to easily find relevant information.
Easily navigate to interesting and relevant sites as well as related sections in Essential C#.
Table of Contents Filtering
The Table of Contents filter will let you narrow down the list of topics to help you quickly and easily find your destination.
Content Coming Soon
New feature from C# 9.
File Scoped namespaces
New feature from C# 10.
using Statements Improvements
Feature improvements from C# 10.
Pattern Matching Improvements
Feature improvements from C# 11.
required Members
New feature from C# 11.
Recently Completed
Copying Header Hyperlinks
Easily copy a header URL to link to a book section.
Home Page
Add a home page that features a short description of the book and a high level mindmap.
Keyboard Shortcuts
Quickly navigate through the book via keyboard shortcuts (right/left arrows, 'n', 'p').