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


Please Help Members By Posting Answers For Below Questions

What is objref object in remoting?

697


What are static assemblies and dynamic assemblies. Differences between them?

634


What are dynamic assemblies?

575


Difference between web services & remoting?

608


Define proxy in .net remoting?

571






What are the situations you will use singleton architecture in remoting ?

565


What are the ways to renew lifetime leases of objects?

581


Define the lease of the object?

590


Define a process?

553


Explain when we use web service and when we use remoting?

529


Explain the hierarchial description of remoting?

535


Which Namespaces is used to achieve the Remoting?

570


I am developing a project.Title is "Remote Demonstator".Using asp.net and C# Abstact: While administrator moving mouse and clicking on any link in the webpage that action will be performed in Server machine as well as in client machine.The client initially have to log-in and make a phone call to the admin. This is my project. How can i get this? I can create a website but this concept i have to implement in my website.How can i achive this? How to get client system control and how my mouse movings can be visible to client? I request all to please give me a basic idea or some hint. Advance Thanks.

1979


How to decide which to use .net remoting or asp.net web services?

499


what are the requirements to enable remote components to interact each other?

539