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 asp.net globalization?
What is gridview in asp.net?
What are the parts of an http response?
What is viewstategenerator?
How can you debug your.net application?
What is asp.net futures?
What is Model-View-View Model?
Define web.config in .net?
what is publisher?
when a request is made in Life cycle of ASP.NET page .
How do you implement sql caching in asp.net?
How can we inherit a static variable?
What is strong-typing versus weak-typing?
Briefly describe the role of global.asax?
Explain About WebService