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 overloading with example?
Difference between debug.write and trace.write?
What is regex c#?
Why do we use delegates in c#?
How C# 4.0 supports dynamic programming language?
What is the role of the datareader class in ado.net connections?
How do you declare a variable in c#?
Why use “using” in c#?
What are partial classes and use of partial classes?
Explain the use of virtual, sealed, override, and abstract method?
What type of data type conversion happens when the compiler encounters the following code?
What are the variables in c#?
What is the wildcard character in sql?
What does firstordefault mean in c#?
What the different phase/steps of acquiring a proxy object in webservice?