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
Are xaml file compiled or built on runtime?
What is a user developed application?
How does session state work in asp.net?
Any disadvantages in Dataset and in reflection ?
What are the types of session in asp.net?
What do you mean by serialize and marshalbyref?
How can you make sure that web api returns json data only?
Why session management is required?
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
Can any body provide me the sample web application in asp.net
Explain the difference between overriding and overloading?
14. What are your Future Plans for Swatz Oils GROUP U.K?
What is the use of service provider?
What is asp net theme?
Explain how to prepare culture-specific formatting in .net.