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

Write some code using interfaces, virtual methods, and an abstract class`

1988


What is rich control in asp.net?

958


What are cao and sao.

987


How you can stop the validation of ASP.NET controls from client side?

983


What are triggers of an updatepanel?

928


Explain the difference between response.redirect vs server.transfer

1090


In asp.net, how can you validate drop down box?

1098


Define application state variable and session state variable?

946


What is .net framework and what are the main components of it?

804


What is the appSettings Section in the web.config file?

1000


8. Why do you want to work here?

1853


In the Repeater control which way you can edit?

1036


How to retrieve user name in case of Window Authentication?

678


Explain the difference between sql invalidation and sql notification.

926


What does the hotspot class in .net do?

953