This is lesson 7 of 11 in this module Course 27% complete

Notes On Nullable Types

Premium Content

Sign in with your account or join us to access this lesson.

The lesson explains how nullable value types are implemented as structs with a hidden boolean field, and how non-nullable reference types rely on compiler analysis rather than runtime enforcement. We conclude with a discussion of the trade-offs and limitations of both features within the existing .NET type system.