What does the following code depicts?
Posted: Wed Jul 13, 2022 7:57 pm
i. System.Nullable count;
ii. bool? done;
a) Code i declares the objects of nullable of type Nullable<T> 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<T> defined in the System namespace & Code ii declares a nullable type in much shorter and in more commonly used way using ‘?’
d) None of the mentioned
ii. bool? done;
a) Code i declares the objects of nullable of type Nullable<T> 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<T> defined in the System namespace & Code ii declares a nullable type in much shorter and in more commonly used way using ‘?’
d) None of the mentioned