Skip to content

Glossary: C# Beyond the Basics

nullable reference types

Also written: string?, T?

A feature where `string` can never be null and `string?` can be, with compiler warnings when you use a possible null unchecked. Switched on with `<Nullable>enable</Nullable>`.

Where the book teaches it

Related terms

null-state analysisnull-forgiving operatorNullReferenceException