What is boxing and unboxing ?

Answer Posted / subhrajit maity

in Csharp language boxing is used to convert value type to
object (reference type).
value to reference.
In this time value copied from stack to heap.
For un boxing convert reference to value.
Value copied from heap to stack

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is x xss protection?

562


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

625


When does a session actually start?

565


How should I destroy my objects in asp.net?

597


What is a web based system?

462






How do you declare static variable?

559


Give a few examples of page life cycle events.

670


Why SessionID changes in every request in asp.net?

547


What is difference between web config and global asax?

441


What are the layouts of ASP.NET Pages?

613


Difference between .NET and previous version?

2102


What are different types of api?

527


Where the viewstate is stored after the page postback?

676


What is session management in web application?

545


How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

699