Added a See Also section. |
m chore: type:value -> value types |
||
Line 11: | Line 11: | ||
[[Category:Type]] | [[Category:Type]] | ||
[[Category | [[Category:Value Types]] |
Latest revision as of 19:54, 17 August 2024
A Nullable<T> is a generic value type that can store a null value - normally only possible by reference types.
For more information on how this type functions, see the Microsoft documentation on Nullable<T>
Usage
Use this wherever you need a value variable (for example bool or float), but you also need to track an unset/empty/null state.
See Also
- Wikipedia's definition of nullable types.
- Microsoft's documentation on the nullable value types & nullable reference types.