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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About DTS package

653


What is variable in c#?

613


Can scriptable objects have methods?

580


Write down the c# syntax to catch an exception

598


What is thread.sleep()?

590






Can we call server-side code (c# or vb.net code) from javascript?

604


Is array a collection c#?

611


Is it possible to have different access modifiers on the get/set methods of a property?

581


What is namespace c#?

580


List the difference between the virtual method and the abstract method?

574


Why we use dll in c#?

624


what are nullable types in c#

609


Why do you call it a process? What’s different between process and application in .net, not common computer usage, terminology?

638


What are delegates and why are they required?

587


Which are access modifiers available in c#?

617