can we assign null value to value type in c#?

Answer Posted / jay

string a = string.Empty;
a = null;

Is This Answer Correct ?    14 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does type safety mean?

573


Can u list some style properties of List Box?

485


What is the relationship between a process, application domain, and application?

494


What are extension methods and where can we use them?

458


How do you define a predicate?

484






What is a partial class in c#?

485


Describe the difference between inline and code behind - which is best?

553


Is java better than c sharp?

510


Write down the c# syntax to catch an exception

523


What is a singleton unity?

554


What is a cs file?

515


Are value types sealed?

511


What is readline library?

502


What is the benefit of using interface in c#?

495


What is parseexact c#?

524