Skip to content

Glossary: C# Basics

nullable type (?)

Also written: string?

A type followed by `?`, such as `string?` or `MenuItem?`, marks that its value may be null.

Where the book teaches it

Related terms

null?. and ?? (null-conditional and null-coalescing operators)