Simple play icon Course

C# Design Patterns: Null Object

by David Starr

Are you tired of using null checks everywhere in your code? This course shows you the Null Object pattern which can completely change the way you and your team defend against null references.

What you'll learn

Stop null check overload in your code! In this course, C# Design Patterns: Null Object, you will gain the ability to apply a new way of managing null references in your team's codebase. First, you will learn about the source of nulls and how they came to be. Next, you will discover how most people code in defense of nulls, adding hundreds of lines of code inside significant codebases. Finally, you will explore how to use the Null Object pattern to stop these practices and depend on each object you receive by bringing non-null. When you’re finished with this course, you will have the skills and knowledge of null scenarios needed to apply the Null Object pattern.

About the author

David Starr has worked in technology leadership positions for over 20 years. He specializes in agile software development practices, patterns and practices, and judicious application of various technologies within development teams. He works to improve the profession of software development as an author, trainer, and Azure architect. He is a 5 time Microsoft MVP in Visual Studio and a technical instructor with Pluralsight where he focuses on the software development practices and developer tool... more

Ready to upskill? Get started