can we assign null value to value type in c#?
Answer Posted / shihafath wazeer
correct declaration for a nullable integer is as follows
Nullable<int> i = null;
or
int? j = null;
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Explain About friend and Protected friend
What are different types of classes in c#?
Explain how do you directly call a native function exported from a dll?
What are the different types of constructors in c#?
What is c# and why it is used for?
What is difference between yielding and sleeping?
Can we have two main methods in c#?
Can extension methods access private members?
Define delay signing?
How to properly clean up excel interop objects?
What is an escape sequence?
What are PE(Portable Executable)?
What is serializable in c#?
How do you specify a custom attribute for the entire assembly?
How does dictionary work in c#?