What are nullable types in C#?
Answers
Answered by
0
C# 2.0 introduced nullable types that allow you to assign null to value type variables. You can declare nullable types using Nullable<t> where T is a type. Nullable<int> i = null; A nullable type can represent the correct range of values for its underlying value type, plus an additional null value.
Similar questions
Physics,
7 months ago
Hindi,
7 months ago
English,
7 months ago
Environmental Sciences,
1 year ago
Math,
1 year ago