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 use of abstract class in c#?
What is call back method?
Is predicate a functional interface?
Is string nullable c#?
Can a class have multiple constructors c#?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What is xml comments in c#?
What are the Types of compatabilities and explain them
What is .cshtml file?
You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?
How do you create partial methods?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
Explain the use of virtual, sealed, override, and abstract method?
Define using statement in c#?
What is string interpolation in c#?