WHAT IS BOXING? HOW WE CAN USE IT?

Answer Posted / rahultripathi

There is two type datatype available Value and reference
type . value are stored in stack and reference type used
in heap . when we copy data from stack memmory to heap it
call Boxing .


Int32 x = 10; object o = x ; // Implicit
boxing
Int32 y = 10;
object obj = (object) y; // Explicit Boxing


Rahul Tripathi
raultripathi@myway.com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asp.net file?

724


What I need to create and run an asp.net application?

606


What are the page life cycle events?

582


Is it possible for me to change my aspx file extension to some other name?

664


What is meant by web application?

629






What are the types of authentication in asp.net?

619


Which adapter should you use, if you want to get the data from an access database?

638


What are the Types of session management in ASP.NET

641


How can we implement a identity (sql server) call in an asp.net page?

678


What is the difference between session and viewstate?

590


How to find last error which occurred in Asp.net ?

792


Should I delete cookies?

591


What is the use of view state?

609


In which situation can you not use a viewstate?

613


How do you secure your configuration files to be accessed remotely by unauthorized users?

741