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

Answer Posted / suman k dey

Use nullable type

Is This Answer Correct ?    29 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you put two constructor with the same structure in a class?

483


What is difference between tostring() vs convert.tostring() vs (string) cast

542


Explain concurrency with aop?

514


What is difference between code access and role based security?

504


What are PE(Portable Executable)?

538






Is an interface a type c#?

513


What are the advantages of using partial classes?

529


What is strong data type in c#?

479


Which is better javascript or c#?

499


what is an exception in .net?

514


Why abstract class can not be instantiated?

448


What is the difference between array and arraylist in c#?

480


Define method overloading in c#?

585


Explain the steps to create satellite assembly?

482


can you allow a class to be inherited, but prevent the method from being over-ridden?

548