What is boxing and how it is done internally?



What is boxing and how it is done internally?..

Answer / krishna prasad

assigning a value type to objects(reference type)
the boxing occurs
int iValue = 20
object objValue = iValue (boxing)
reference types are stored on heap (all objects,strings)
value types are stored on stack (int,char,bool,etc..)

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Describe the difference between inline and code behind.

5 Answers   Siebel Systems,


What is voluum?

0 Answers  


How do you do exception management

1 Answers   Infosys,


how can i call output parameters from ado.net

3 Answers   TCS,


Do session use cookies in asp net?

0 Answers  






What is Hybrid dictionary

1 Answers  


How do we make a poperty read only?

1 Answers   Microsoft,


What are demand-paging and pre-paging?

0 Answers   MCN Solutions,


What is the use of view state?

0 Answers  


where the stored procedure are written in business logic or data acess layer?

2 Answers  


What is considered a service provider?

0 Answers  


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

0 Answers  


Categories