The Core of .NET

H19 Session Intentionally Left Null?

03/07/2024

2:45 pm - 4:00 pm

Level: Introductory

Ed Charbeneau

Developer Advocate

Progress

In this session we’ll discuss relatively new Nullable types in C# 8.0 and above. Nullable types are both useful and nuisance as the well-intended feature causes compiler warnings while attempting to help ensure stability. We’ll discuss patterns and practices for handling nullable values as they relate to .NET, ASP.NET and Blazor applications. Get an understanding of when to use nullable, how to correctly handle compiler warnings, and how set proper default values.

You will learn:

  • Why Nullable is important in modern .NET apps
  • How to resolve common compiler warnings
  • How frameworks like Blazor implement nullability