How boxing and unboxing occures in memory?
Answer / Lalan Kumar
Boxing refers to the process of converting a value type (e.g., int) into an object (System.Object). When this happens, the value type is wrapped inside an object instance on the heap. Unboxing, on the other hand, involves converting an object back to its original value type. This operation extracts the underlying value from the object instance and assigns it to a variable of the appropriate value type.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is strong-typing versus weak-typing? Which is preferred?
What is managed code in .NET?
Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
Does .net supports destructors concept?
which is the best dot net coaching center in visakhapatnam??
What is a windows process in .net?
What is .net debug & trace?
Is .net core stable?
How can I tell if .net 3.5 is installed?
Explain about Behavioral design pattern?
Can u any body send the DotNet Interview questions and answers to my mail please....... mindukuru@yahoo.com
Explain the top .net class that everything is derived from?