null-keyword

A special value meaning a reference points at nothing.

In more detail

Using a null reference as if it were an object throws a NullReferenceException at run time. C# nullable reference types move most of these mistakes to compile-time warnings.

Related terms

Taught in

References