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 u refer webservices?
What are session state modes? List some of the important session state modes of asp.net.
What is page fragment caching?
Give me one example of Web API Routing?
Explain the function of new view engine in asp.net? : asp.net mvc
What is the difference between session and viewstate?
What is fulltrust?
What are app services?
Explain the asp.net mvc request life cycle? : asp.net mvc
How can you make sure that web api returns json data only?
What is the significance of proxy user?
How do you identify that the page is postback?
Which platform does Microsoft .NET use for exchanging data between applications?
In Code-Behind class which kind of code (server or client) is found ?
What is _viewstart?