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 is difference between string and stringbuffer in c#?
What are the return types in c#?
What is the xml document structure?
How many types of constructor are there in c#?
Can you see a loop recorder?
What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?
what is a template?
what is the fastest way to concatenate strings in c sharp?
Can destructors have access modifiers?
Can a structure be inherited by a class?
What is hashset c#?
What all details the assembly manifest will contain?