Session

No null! for .NET Developers

Null references are a problem. They can show up anywhere, and as a developer you have to litter your code with null checks. Thankfully C# has a feature to help with that, Nullable Reference Types (NRTs). They utilize a mix of syntax and special C# Attributes to enable null checking at compile time. It's not a perfect system, but it's WAY better than not using NRTs.

In this session we'll review (and demo!) the different ways Nullable Reference Types help us when something may be null, by talking about:
- The helpful NRT C# syntax and attributes
- How NRT code is different for object deserialization
- Cases where NRTs aren't as helpful as we'd like them to be

AL Rodriguez

Principal Developer, Developer, Developer

Orlando, Florida, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top