Working with Nulls in C#
Master C# null handling! Learn to create, check, and eliminate null reference exceptions for robust applications. Improve code quality today.
Course Content
Working with Nulls in C# is an intermediate-level Pluralsight course taught by Jason Roberts. It runs 2h 9m, is taught in English, and includes a certificate of completion. Learners rate it 4.6 out of 5 from 169 reviews. It is a paid course, first published August 2021.
Dealing with NullReferenceExceptions and unexpected null values is a common challenge in C# development, often leading to frustrating bugs and increased support costs. This course, Working with Nulls in C#, provides a comprehensive understanding of how to effectively handle null values in your C# code.
You'll begin by understanding the fundamentals of nulls, exploring why they occur and the crucial distinction between value types and reference types in C#. Learn how this fundamental understanding impacts your code's behavior.
Next, you'll master the use of various C# operators specifically designed for checking and manipulating nulls. Discover concise and efficient ways to handle potential null scenarios, reducing boilerplate code.
The course then moves to a higher level, teaching you how to think about nulls within your object-oriented design. Learn to anticipate and manage nulls in more complex code structures.
Finally, explore the benefits of C# 8's non-nullable reference types, a powerful feature that can significantly reduce null-related errors. You'll gain practical knowledge on how to leverage these features for safer and more robust applications.
By the end of this course, you will be able to:
- Understand the different types of objects in C#.
- Correctly create and utilize nullable value types.
- Effectively use C# operators to handle nulls with fewer lines of code.
- Implement the Null Object pattern for graceful handling of nulls.
- Leverage nulls in C# 8 and beyond to build more resilient applications.
Stop wasting time debugging null-related issues. Gain the skills to write cleaner, more reliable C# code and reduce those out-of-hours support calls!
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.