Vidyalelo
C# Programming · Q98

Miscellaneous in C Sharp

Programming · C# Programming · question 98

Q98

What does the following code depicts? i. System.Nullable count; ii. bool? done;

A.
Code i declares the objects of nullable of type Nullable defined in the System namespace
B.
Code ii declares a nullable type in much shorter and in more commonly used way using '?'
C.
Both Code i declares the objects of nullable of type Nullable defined in the System namespace & Code ii declares a nullable type in much shorter and in more commonly used way using '?'
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board