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...

Difference b/w casting and boxing?

Answer Posted / anand gopal makwa munger

Boxing is the term for turning a value type (int, double, float, Guid, etc.) into a reference type (System.Object, System.String, etc.). Doing this boxing operation allocates memory on the heap (which the garbage collector will eventually need to reclaim).

Casting is taking a type (say, System.Object) and treating it as another type (say, System.String).

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 AutoEventWireUp and what is the use of This property explain in details?

1534


What is the typical session identifier?

984


Define satellite assemblies.

1006


What are directives in asp.net? List down all the important directives.

885


What is user control in asp.net?

1004


How dataadapter.fill works?

988


How does session authentication work?

876


What are the benefits of view state?

898


What are the disadvantages of asp.net?

1043


Write some code using interfaces, virtual methods, and an abstract class`

1991


Explain the significance of routing? : asp.net mvc

1000


How do I publish my asp.net application to my isp's web server?

1028


What is the parent class of all web server control?

984


Can asp.net work on an nt server?

986


What is asp.net and how it works?

953