Guest MemberLanguage   English
.NET & C# · C#

What are nullable types in C#?

BeginnerUpdated 2026-08-08

Nullable value types such as int? can represent a value or null. Nullable reference annotations such as string? communicate whether null is expected and enable compiler null-state analysis.

#csharp#nullable types