Home » C# Programming » Datatypes

Which of the following statements are correct? We can assign values of any type to variables of type object. When a variable of a value type is converted to object, it is said to be unboxed. When a variable of type object is converted to a value type, it is said to be boxed. Boolean variable cannot have a value of null. When a value type is boxed, an entirely new object must be allocated and constructed.

Correct Answer: 1, 5

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion