What are nullable types? Is Nullable<int> I and int ?i are same.
Answers were Sorted based on User's Feedback
Answer / chandana
nullable types are variable which can have null assigned as
their value.
Yes, they are same.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / amol more
Hey Hi Chandana,
Please correct me ..
if we are say like nullable types are variable which can
have null assigned as their value. Means that variable
holding null value that is undefined.
However, when we decalre the int i mean by deafault i
variable is holding the zero value.
That's the reason both are not same.
Is This Answer Correct ? | 0 Yes | 4 No |
What does writeline mean?
what is Anonymous Method.? and What is shadowing?
What is the task perform by clr?
Is equal in c#?
Can I define a type that is an alias of another type (like typedef in c++)?
What happens when thread sleep () method is called?
How many types of inheritance are there in c#?
Why do we use 0?
What is dictionary class in c#?
Write a program to find the angle between the hours and minutes in a clock
What is the differences between datagrid, datalist and repeater in .net?
what is boxing and unboxing?can we initialize unboxing directly?