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 the adavantage of using ASP.NET routing?
explain code with datachaching with example
What is .net framework and what are the main components of it?
Is asp.net a language?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
How u refer webservices?
What is the difference between CC and BCC?
What is asp.net ajax?
What role “#&&” plays in a querysting?
What is the good practice to implement validations in aspx page?
What is custom events?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
Explain About duration in caching technique
Which is better php or asp.net?
Explain server control extensibility with reference to asp.net 2.0 ?