Undefined values: Difference between revisions
Content added Content deleted
(→{{header|Haskell}}: Added solution for Delphi and C#) |
|||
Line 1: | Line 1: | ||
{{task}}For languages which have an explicit notion of an undefined value, identify and exercise those language's mechanisms for identifying and manipulating a variable's value's status as being undefined |
{{task}}For languages which have an explicit notion of an undefined value, identify and exercise those language's mechanisms for identifying and manipulating a variable's value's status as being undefined |
||
=={{header| |
=={{header|C sharp|C#}}== |
||
When a basic type is suffixed by a question mark the type is marked nullable and gains an additional NULL value in addition to its usual allowed values. |
When a basic type is suffixed by a question mark the type is marked nullable and gains an additional NULL value in addition to its usual allowed values. |
||
<lang csharp> |
<lang csharp> |