boxing means converting value type to reference type and
unboxing means converting reference type to value type.why
we need boxing and unboxing?
Answer Posted / madhu maaydi
some times super class ref is may not available to subclass objects at that time we may go for umboxing, data in the web application travers in the net throuw objects only but not through variables at that time we need to type cast it into equalent obecjt at this time we go for boxing and auto boximg....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is asynchronous one-way calls?
So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?
Explain About friend and Protected friend
What are the differences between static, public and void in c#?
What is .dbml file?
Why delegates are type safe?
What is an assembly qualified name? Is it a filename? How is it different?
What is dll hell, and how does .net solve it?
Are structs faster than classes?
Do while loops yes or no c#?
What are the types of constructors?
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
Is arraylist generic in c#?
What method is used to sort the elements of the array in descending order?
What is data types in c#?