Intermediate

C-Sharp Design Patterns Null Object

This course is part of a series of training courses on design patterns in C#. The central objective is to learn the Null Object design pattern: when to use it and how to apply it correctly.

The promise is simple and bold: you can stop writing null checks. Thanks to this pattern, it is possible to write far fewer null checks while remaining completely safe.

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

8 sections
  1. 1 Table of Contents
  2. 2 Course Overview
  3. 3 Introduction to the Null Object pattern
  4. 4 Demonstration: Code before pattern
  5. 5 Demonstration: Code after the pattern
  6. 6 Comparaison avant / après
  7. 7 When to use the Null Object Pattern?
  8. 8 Summary and best practices

Interested in this course?

Contact us to book it or get a custom training plan for your team.