Skip to main content
Other Professional CoursesDometrain2025-2 Edition100% Free Video Course

From Zero to Hero: Working with Null in C#

From Zero to Hero: Working with Null in C# is a course on understanding and effectively handling Null values ​​in C# published by Dometrain Online Academy. This course explores common problems with Null references, best practices for checking for Null, and techniques such as Null reference types, the Null coalescing operator, and defensive programming strategies. You will learn how to avoid NullReferenceExceptions, use nullability annotations, use pattern matching, and implement safe coding practices to make your programs more robust and error-proof. The course also covers advanced topics such as optional parameters, the Try pattern, and the Null object design patterns.Null is often called the billion-dollar mistake, and for good reason. It can be very problematic. The idea of ​​something that has no value seems dangerous in software engineering. Over the years, C# has introduced features like Nullable reference types to help developers write better, more robust, and safer code, but many people still don’t know how to use it properly. By the end, you’ll have a deep understanding of Null handling in C#, reducing runtime errors, and improving code maintainability.

5.0
(1 reviews)
6.3 Hours On-Demand
Created by Senior Industry Specialist
Uploaded Sep 2026
English
From Zero to Hero: Working with Null in C#
Preview This Course
Free$129.99100% Free

Instant high-definition streaming with zero paywalls.

Course Features:
6.3 hours on-demand video
56 complete lectures
1 downloadable project zip file(s)
Streamable on mobile, tablet & desktop
Self-paced curriculum with progress tracking
Direct MP4 downloads & offline video access
Verified course archives hosted on cloud infrastructure.

What You'll Master in this Course

C# Types and Default Values
Welcoming Unaware Fields in C#
Performing Null Operations in C#
Designing Classes, Objects, and APIs with Null Intent
Taking Null with Pattern Matching
And…

Course Curriculum56 Lectures

1 sections • 6.3 hours total length

Prefer offline learning? Download all 56 video lectures and project files for free.
Download Free
Welcome
Preview
4m
Who-is-the-course-for-and-prerequisites
Preview
4m
Why-is-null-a-problem-in-C
6m
The-C -type-system-and-value-types
4m
Why-is-null-important-in-C
2m
What-will-you-learn-in-this-course
9m
Reference-types-in-C
4m
How-C -uses-types-on-the-heap-and-stack
7m
A-brief-history-of-null-in-C
2m
Nullable-value-types-in-C -2-
12m
Unpacking-the-default-keyword
5m
Nullable-reference-types-in-C -8-
6m
Setting-the-nullable-context
3m
What-is-the-null-conditional-operator
6m
Null-intent-is-for-compilers-and-developers-too
10m
Using-the-null-conditional-operator-with-arrays
8m
What-is-null-conditional-short-circuiting
4m
Understanding-common-null-compiler-warnings
12m
What-is-the-null-coalescing-operator
7m
API-design-with-null-intent-introduction
2m
What-is-the-null-coalescing-conditional-operator
8m
What-is-the-null-forgiving-operator
8m
Unpacking-the-Exiting-the-constructor-null-warning
8m
Working-with-null-and-properties
7m
What-is-the-required-keyword -and-when-to-use-it
7m
Advanced-API-intent-with-the-AllowNull-attribute
5m
Advanced-API-intent-with-the-DisallowNull-attribute
10m
Advanced-API-intent-with-the-NotNullIfNotNull-attribute
4m
Advanced-API-intent-with-the-MemberNotNull-attribute
7m
Introduction-to-pattern-matching-and-the-is-keyword
7m
Capturing-null-with-the-pattern-matching-switch-operator
6m
Property-matching-to-filter-null
13m
The-BlazingPizza-project-overview
2m
How-null-affects-EF-migrations
11m
Enabling-the-nullable-context-and-treating-warnings-as-errors
7m
How-null-affects-EF-relationships
12m
How-null-affects-full-stack-objects
6m
Using-the-Visual-Studio-references-feature-to-find-null-intent
10m
When-to-use-the-required-keyword
9m
Shared-library-walkthrough-wrap-up
7m
Updating-shared-classes-with-proper-null-intent
17m
Web-API-best-practices -GET-operations
5m
Web-API-best-practices -PUT-operations
6m
Web-API-best-practices -DELETE-operations
1m
Web-API-best-practices -POST-operations
3m
How-to-handle-null-with-authorization-and-claims
8m
Improving-an-API-with-the-DisallowNull-attribute
4m
Fixing-null-issues-with-null-operators
5m
Handling-RazorComponents-Authorization-values
3m
How-to-handle-Null-with-HttpClient
8m
Updating-the-application-state-object
4m
Applying-null-to-Blazor-pages
5m
Unpacking-the-AuthenticationState-component
3m
Best-practices-for-loading-without-relying-on-null-in-Blazor
13m
When-to-use-EditorRequired-in-a-RazorComponent
9m
Wrapping-up-the-BlazingPizza-walk-through
13m

Requirements

  • Basic enthusiasm to learn and follow along with lessons
  • A computer or mobile device with a modern internet connection

Description

From Zero to Hero: Working with Null in C# is a course on understanding and effectively handling Null values ​​in C# published by Dometrain Online Academy. This course explores common problems with Null references, best practices for checking for Null, and techniques such as Null reference types, the Null coalescing operator, and defensive programming strategies. You will learn how to avoid NullReferenceExceptions, use nullability annotations, use pattern matching, and implement safe coding practices to make your programs more robust and error-proof. The course also covers advanced topics such as optional parameters, the Try pattern, and the Null object design patterns.Null is often called the billion-dollar mistake, and for good reason. It can be very problematic. The idea of ​​something that has no value seems dangerous in software engineering. Over the years, C# has introduced features like Nullable reference types to help developers write better, more robust, and safer code, but many people still don’t know how to use it properly. By the end, you’ll have a deep understanding of Null handling in C#, reducing runtime errors, and improving code maintainability.

Instructor

S

Senior Industry Specialist

Specialist in Other Professional Courses

Passionate educator focused on real-world practical skills, modern frameworks, and production-ready engineering practices. Delivering step-by-step masterclasses accessible to learners globally on MJ Accedemy.

Recommended Curriculum

Students Also Viewed