Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is difference between out and ref in c#?

986


How can you force derived classes to provide new method implementations for virtual methods?

895


How long does a loop recorder procedure take?

971


Is a dll an assembly?

903


What is asenumerable in c#?

870


What is a delegate? How can it works?

1110


What is parse method in c#?

895


What is deferred execution in c#?

898


Why do we need indexers in c#?

903


Is c# good for web development?

942


What is different between Implicit conversion and Explicit conversion in C#?

1036


How can i Spawn a Thread

891


What's the difference between System.String and System..StringBuilder in C#?

976


How do you prevent a class from being inherited?

906


What is the difference between field and variable in c#?

981