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
Explain Features in ASP.NET
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
How does exception management works in ASP.NET?
How can exception be handled with out the use of try catch?
What language is asp.net written in?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Difference between Response.redirect vs server.transfer?
What are web server controls in asp.net?
Differentiate between early binding and late binding.
Explain the concept of View Model in MVC?
Explain code snippet to register exception filters from controller?
Why cyclomatic complexity is important?
Can action method static?
Explain the different types of directives in .net?
How do you identify that the page is postback?