Answer Posted / aejaz ahmad
Boxing is onverting a vlue type to refrence type (object
type)
Unboxing is converting reffrence type to value type as a
another value type
int i=0;
object o=i; //this is boxing
int i2=(int)o;//this is unboxing
long l=(long)i; //this is casting.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between localization and globalization?
What is the sequence in which ASP.NET events are processed?
How can u debug your .net application?
What are the different method of navigation in asp.net?
Explain the difference between web user control and web custom control?
Is redux flux?
Do cookies store passwords?
Describe a Windows Service and its lifecycle ?
Where you store Connection string in "Web.Config" file in ASP.NET?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What are the benefits of Razor View?
Which platform does Microsoft .NET use for exchanging data between applications?
How can we inherit a static member?
What is distributed system in asp.net?
Explain in what order a destructors is called.