How to assign default value to nullable types? Did nested
nullable types are allowed

Answer Posted / msg

Nested nullable types are not allowed. The following line
will not compile:
Nullable<Nullable<int>> n;

- By MSG

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use static methods in c#?

737


Why do we use parameters in c#?

688


How to move to a state-related codebase?

1165


Can multiple inheritance implemented in c# ?

696


What are custom exceptions in C#?

787


What does int32 mean in c#?

642


How big is an int in c#?

721


how to prevent a class from being inherited in c#.net?

696


How do I make a dll in c#?

694


What is difference between abstraction and encapsulation in c#?

735


What are the uses of delegates in c#?

784


Describe a Struct ?

741


What operator means?

660


Is void a class?

629


Wcf and what is difference between wcf and web services?

703