Answer Posted / maloy.adhikari
Boxing is the process of converting a value type to the
type object or to any interface type implemented by this
value type. When the CLR boxes a value type, it wraps the
value inside a System.Object and stores it on the managed
heap. Unboxing extracts the value type from the object. In
the following example, the integer variable i is boxed and
assigned to object o.
Exam::
int i = 123;
object o = (object)i; // boxing
...........
o = 123;
i = (int)o; // unboxing
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How does asp.net page work?
How do you remove duplicates without using remove duplicate stage?
What is the difference between stored procedure vs function?
What is asp.net with mvc? : Asp.Net MVC
What are the session variables?
Explain the Session state management options available with ASP.NET?
Name the two properties are on every validation control?
What is a windows service?
Is oauth for authentication or authorization?
What is s2s tracking?
Can we set which type of comparison we want to perform by the CompareValidator control?
Will the asp.net validators run in server side or client side?
Explain asp.net application life cycle?
How you can manage the state of application at the server side in ASP.NET?
What is data caching?