What Does The Following Code Depictsp Pre I Systemnullableint #857
What does the following code depicts?</p> <pre><code class="language-text"> i. System.Nullable<int> count; ii. bool? done;</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Miscellaneous Topics - Pointers Operation - Quiz No.2.
What does the following code depicts?
i. System.Nullable<int> count; ii. bool? done;
Code i declares the objects of nullable of type Nullable<T> defined in the System namespace
Code ii declares a nullable type in much shorter and in more commonly used way using ‘?’
Both Code i declares the objects of nullable of type Nullable<T> defined in the System namespace & Code ii declares a nullable type in much shorter and in more commonly used way using ‘?’
None of the mentioned