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

How do I make a dll in c#?

0 Answers  


Is it good to use var in c#?

0 Answers  


Explain Direct CAST vs CType ?

0 Answers   MCN Solutions,


What is namespace in oop?

0 Answers  


How many variables do you need?

0 Answers  






What problem does Delegate Solve?

0 Answers   MindCracker,


Are c# strings null terminated?

0 Answers  


What is the difference between webgarden and webfarm?

1 Answers   Mphasis,


What?s an abstract clas?

5 Answers   Mind Tree,


What if an error occurs in Catch block, how can you prevent it?

2 Answers   IBM,


What is a string? What are the properties of a string class?

1 Answers  


What is a race condition?

0 Answers  


Categories