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

Answer Posted / vikram

ya we can assign null value to valuetype but to certain
datatype only like string but not to int or float.

Is This Answer Correct ?    35 Yes 45 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we inherit private class in c#?

498


How do you create partial methods?

555


What is the default value of datetime in c#?

496


What is a destructor in c#?

527


Can abstract class have private constructor c#?

512






What are managed providers?

549


What is getenumerator?

460


Explain how to implement delegates in c#.net

501


What is console readkey ()?

527


What is file extension of webservices?

580


What is yield return in c#?

495


What is difference between il and dll ?

531


Do void methods have parameters?

498


What is firstordefault c#?

543


What is managed or unmanaged code?

587