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?

Answers were Sorted based on User's Feedback



What is boxing?..

Answer / sivaprasad

Boxing is nothing but converting value type to reference type
Example:int i =10;
object o = i; \\Boxing which can happen implicitly

int j = (int)o; \\Unboxing Converting Referrenvce Type
to value type.

Is This Answer Correct ?    13 Yes 0 No

What is boxing?..

Answer / vidhya t

Boxing means convert value type to reference type

Is This Answer Correct ?    13 Yes 2 No

What is boxing?..

Answer / suresh

converting value type to reference type is called boxing.

Is This Answer Correct ?    10 Yes 2 No

What is boxing?..

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

What is boxing?..

Answer / progguru

casting value type to reference type eg. int to string

Is This Answer Correct ?    1 Yes 0 No

What is boxing?..

Answer / ardhendu samajdwer

Boxing is the implicit conversion of value type to reference type.

For ex:-

Dim A as integer = 10
Dim B as object
B = A

Or in C#
int A = 10;
object B;
B = A;

Is This Answer Correct ?    0 Yes 0 No

What is boxing?..

Answer / amar

The actual definition of boxing means converting value type to reference type.

Is This Answer Correct ?    0 Yes 0 No

What is boxing?..

Answer / dinesh

boxing allows value types to be converted into object type or reference type

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

0 Answers   Siebel,


can we store textbox and com components in viewstate?

4 Answers   Microsoft,


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

0 Answers  


How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?

1 Answers  


How to write test case (Unit test plan)

1 Answers   Syntel,


What is css and what is it used for?

0 Answers  


What is the meaning of TestApi?

0 Answers  


What are the merits and demerits of viewstate?

0 Answers   Siebel,


How can we inherit a static member?

0 Answers  


What is a response cookie?

0 Answers  


Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

0 Answers  


Using Statement usage in C#

2 Answers  


Categories