What is Boxing and Unboxing?
Answer Posted / karthik
Boxing:Focing an value type into referencetype is known as boxing.
EX:int a=10;
object obj;
obj=a;
Unboxng:forcing an reference type into value type is known as unboxing.
EX:
int b:
b=(int)obj;
unboxing should be done explicitly using datatype casting.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is meant by asp.net?
What is view state and how it works in asp net?
How to Separate background image and front image from original picture....
How to implement globalization and localization in the use interface in .net.
what is loosely coupled solution? How it can be used?
Explain how cookies work. Give an example of cookie abuse.
Explain the difference between response.redirect vs server.transfer
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What is Web API Routing?
Explain how viewstate is being formed?
What is marshalling ? Is it a part of asp.net ?
How to prepare culture-specific formatting in .net.
How to use push notification?
Why is this service branded with windows livetm?