What are nullable types? Is Nullable<int> I and int ?i are same.

Answers were Sorted based on User's Feedback



What are nullable types? Is Nullable<int> I and int ?i are same...

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

What are nullable types? Is Nullable<int> I and int ?i are same...

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

Post New Answer

More C Sharp Interview Questions

What is difference between string and stringbuffer in c#?

0 Answers  


What are the return types in c#?

0 Answers  


What is the xml document structure?

0 Answers  


How many types of constructor are there in c#?

0 Answers  


Can you see a loop recorder?

0 Answers  






What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?

1 Answers  


what is a template?

3 Answers   Choice Solutions,


what is the fastest way to concatenate strings in c sharp?

4 Answers   HCL,


Can destructors have access modifiers?

0 Answers  


Can a structure be inherited by a class?

3 Answers  


What is hashset c#?

0 Answers  


What all details the assembly manifest will contain?

0 Answers  


Categories