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

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

438


What does a switch do?

539


How asp.net mvc differs from asp.net web forms? : asp.net mvc

555


How does ASP.NET framework maps client side events to Server side events.?

553


What are the different types of Caching techniques in ASP.NET?

579






What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

536


What is asp.net caching?

578


How can you handle exceptions in asp.net?

563


How do http sessions work?

502


What threading model used in asp and asp.net?

576


What are the new features implemented in ASP.NET?

608


What is the mvc model?

581


What are the advantages of asp.net?

543


Where sessions are stored in asp.net?

539


Explain diff between dataset and datareader?

532