C# Nullables C# nullable types were introduced to allow variables to have a value or a null reference. In C#, by default, value types (such as int, double, and bool) cannot be assigned a null value. Nullable types allow you to assign a null value to a value type by wrapping the value type in a Nullable structure. To declare a nullable type, you can use the ? modifier after the value type. For ex..