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
who is a protected class-level variable available to?
What is an enumerator c#?
How to find the current application file path while runtime?
What is variable and its classification?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
What is icomparer in c#?
What is a Jagged Array in C#?
What is javascriptserializer c#?
What is float in unity?
Is a structure a class?
Can abstract class be sealed in c#?
Can you mark static constructor with access modifiers?
What is the difference between struct and class in c#?
What are the advantages of clr procedure over t-sql procedure?
What standard types does c# use?