nullable annotation
A ? after a type, like string?, meaning the value may be null.
With nullable reference types enabled, T? marks a reference that may be null and T one that should not be; the compiler warns on likely null misuse.
Examples
string? middleNamemay be null;string lastNamepromises it never is.
See also