What is Nullable Type in c#

Answer Posted / mistry

Nullable types are instances of the System.Nullable struct.
A nullable type can represent the normal range of values
for its underlying value type, plus an additional null
value. For example, a Nullable<Int32>, pronounced "Nullable
of Int32," can be assigned any value from -2147483648 to
2147483647, or it can be assigned the null value. A
Nullable<bool> can be assigned the values true or false, or
null. The ability to assign null to numeric and Boolean
types is particularly useful when dealing with databases
and other data types containing elements that may not be
assigned a value.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there an equivalent to the instanceof operator in visual j++?

513


What are events in C#?

552


How Reflection is used and what it's significance ?

517


In how many ways you can overload a method?

582


What do you mean by jagged arrays in c#?

474






What is the default value of date?

447


What is dataset and dataadapter in c#?

494


What is the usage of OLE?

580


Explain the role of the datareader class in ado.net connections?

459


Is comparable a functional interface?

497


What is boxing and unboxing in c#?

467


What is anonymous class in c#?

510


What is type safe code?

467


What's the difference between an integer and int?

524


What is a three-tier application.

549