Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is boxing and unboxing ?

Answers were Sorted based on User's Feedback



What is boxing and unboxing ?..

Answer / pandian

Box is used to convert Value type to reference type(ie.
Object)
Unboxing is the reverse of the boxing.

Is This Answer Correct ?    7 Yes 0 No

What is boxing and unboxing ?..

Answer / hanuman

Boxing is a concept of converting value types into reference types and vice versa is called UnBoxing

Is This Answer Correct ?    0 Yes 0 No

What is boxing and unboxing ?..

Answer / 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

What is boxing and unboxing ?..

Answer / kirti

Boxing :- Boxing is an implicit conversion of a value type to the type object type

Eg:-

Consider the following declaration of a value-type variable:

int i = 123;

object o = (object) i;

Boxing Conversion

UnBoxing :- Unboxing is an explicit conversion from the type object to a value type

Eg:

int i = 123; // A value type

object box = i; // Boxing

int j = (int)box; // Unboxing

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Remoting Interview Questions

Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs?

2 Answers  


What are different types of assemblies?

0 Answers  


What is the difference between .Net Remoting and Web Services ?

1 Answers  


What?s SingleCall activation mode used for?

1 Answers  


What is objref object in remoting?

0 Answers  


About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?

0 Answers   DELL,


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.

0 Answers   Excel,


Define delegates and events?

0 Answers  


In which conditions do you opt for Remoting services?

8 Answers   Manland, Tech Mahindra,


Difference between .net remoting versus distributed com?

0 Answers  


What?s a Windows process?

1 Answers  


What is the purpose of System.EnterpriseServices namespace ?

1 Answers   Digital GlobalSoft,


Categories