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
Do you know about caching with the datasource controls?
What is microsoft windows sharepoint services?
What is meant by asp.net?
List the events in page life cycle.
What is the current version of asp.net?
How do http sessions work?
Is data edited in the Repeater control?
Define xmlvalidatingreader class.
What do you mean by role-based security?
How to disable validator control by client side JavaScript?
What are sql joins?
Define a static class?
What is the difference between application state and session state in asp net?
What is asp.net used for?
How can you access the properties and controls of master pages from content pages?