Beginner
18 Lessons
4h
Certificate of Completion
Takeaway Skills
An understanding of NullReferenceException and when it can be thrown
A working knowledge of C# nullable operators to simplify null checks
The ability to identify problematic code blocks using C# nullable references
Familiarity with the Option wrapper to avoid NullReferenceException
The ability to avoid NullReferenceException when working with some LINQ methods
Course Overview
NullReferenceException is an error that programmers frequently encounter, and it is often referred to as the Billion Dollar Mistake. This course is designed to assist you in avoiding this error. You will begin by gaining an understanding of when NullReferenceException is thrown and how to prevent null in your code. You’ll also learn how to employ nullable operators to simplify null checks and use nullable references and the Option wrapper to identify problematic code blocks. Finally, you will explore avoid...
Course Content
Strategies to Get Rid of NullReferenceException
How You'll Learn
You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.
Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.
Learn faster and smarter with adaptive AI tools embedded in every Educative course.
Built-in assessments let you test your skills. Completion certificates let you show them off.