© 2026 Dometrain. All rights reserved.
Learn how to properly use null in C# in a modern way and write better, robust code
Null is often called the billion-dollar mistake, and for good reason. It can be very problematic. The idea of something having a nothing value sounds dangerous in software engineering. Over the years, C# has introduced features such as Nullable Reference Types to help developers write better, more robust, and safe code, but many people still don’t know how to use it properly. In this course, Ed Charbeneau will start with the basics and teach you everything there is to know about null, from how to use it, from when not to use and how to take an existing full stack application that isn’t using it properly and re-engineer it to make full use of the feature.
Well explained, great examples and clear concise breakdown of null-ability.
Different ways to deal with null and how to mange in existing projects.
Two things actually: first, the clear explanation of type/value/reference/stack/heap architecture, the dereference warning pops up a lot in my code. And second the hands-on real-life application demo, the specific consideration per nullable warning is insightful.
Best practice of NEVER returning NULL with Controller HTTP responses.