adspace


Explain boxing and unboxing in .net.

Answer Posted / Gangesh Chand Gupta

Boxing is the implicit conversion of a value type (like int or bool) to an object (System.Object). Unboxing is the reverse operation, converting an object back to its original value type. This is useful when dealing with generic collections that can contain multiple data types.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1143