What is boxing and unboxing ?
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;
unboxing : copy data from heap memory to stack called
unboxing
object obj = (object) y; // Explicit Boxing
Rahul Tripathi
raultripathi@myway.com
Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Explain about solution explorer window?
How to rename a table using sql queries?
What is a 404 redirect?
Where is asp.net session stored?
Difference between singleton and singlecall.
What's the ASP.Net Application life cycle?
What’s the difference between asp.net web forms and asp.net mvc?
Can the unique key be null?
What is the benefit of WebAPI over WCF?
How can we communicate with each server in N-tier Architecture? and what are the methods?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
What is csrf attack in asp.net?
what is DLL Hell and how it is solved in .NET? please explain clearly??