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?

Answer Posted / maloy.adhikari

Boxing is the process of converting a value type to the
type object or to any interface type implemented by this
value type. When the CLR boxes a value type, it wraps the
value inside a System.Object and stores it on the managed
heap. Unboxing extracts the value type from the object. In
the following example, the integer variable i is boxed and
assigned to object o.
Exam::
int i = 123;
object o = (object)i; // boxing
...........
o = 123;
i = (int)o; // unboxing

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain advantages of caching?

918


What is data cache in sql server?

1091


Explain the different types of directives in .net?

915


Explain how asp.net different from asp?

1084


Explain the main function of razor in asp.net? : asp.net mvc

1069


What is Partial PostBack in ASP.NET?

1024


Explain the difference between array and linkedlist?

975


Explain Optimization technique description?

1015


Can you explain page lifecycle in net?

961


What is preprocessor in .net?

962


What is a SESSION and APPLICATION object?

1022


What is the application pool?

947


How can we make sure that Web API returns JSON data only?

1001


If you are using components in your application, how can you handle exceptions raised in a component?

2658


How to disable disable browser's Back button in asp.net (JavaScript)?

1114