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
What is a helper method in c#?
Why is hashset faster?
How does split work in c#?
Why dataset is used in c#?
What is reflection in c#?
How do you prevent a class from being inherited?
Does a class need a constructor c#?
What is multicast delegate in c# ?
What are regular expressions? Search a string using regular expressions?
How do you use nullable?
What is console writeline in c#?
Explain the difference between “as” and “is” operators used in c#?
What is the difference between abstract class and interface in c#?
What is the difference between a method and a property?
What is oledb in c#?