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
Where is session cookies stored?
How to do state management in ASP.NET?
How many types of sessions are there in asp net?
Give an example of cookie abuse.
What are the benefits of Razor View?
What are httphandlers and httpmodules and difference between them?
Which method is used to force all the validation controls to run?
Explain how do you deploy your asp.net application?
What is protected configuration?
Do you know about caching with the datasource controls?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
How do I know asp.net mvc version? : Asp.Net MVC
Is data edited in the Repeater control?
How can we use Web API with ASP.NET Web Form?
What is difference between asp state management and asp.net state management?