What is boxing and unboxing ?
Answer Posted / kirti
Boxing:
The conversion of a value type instance to an object, which implies that the instance will carry full type information at run time and will be allocated in the heap. The Microsoft intermediate language (MSIL) instruction set's box instruction converts a value type to an object by making a copy of the value type and embedding it in a newly allocated object.
Un-Boxing:
The conversion of an object instance to a value type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the types of remoting?
Explain the differences between marshal by value and marshal by reference?
What is a formatter in .net remoting?
What is unboxing?
Will clr handle unmanaged code or not?
Which Namespaces is used to achieve the Remoting?
Can you pass SOAP messages through remoting?
What are the situations you will use singleton architecture in remoting ?
What is fundamental of published or precreated objects in remoting?
What is Remoting?
Explain how to directly call a native function exported from a dll?
Explain the difference between the registerwellknownservicetype(), registerwellknownclienttype(), registeractivatedservicetype() and registeractivatedclienttype() in .net?
What is asynchronous programming?
What are the threading types?
Define singlecall activation mode in .net remoting?