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 / kinjal panchal

Boxing:- Boxing is converting value type to Reference type.
for Example:-

int i=0;
object O=(object)i;

Casting:- Casting is converting value type to another value type
for example:-

int i=0;
long l=(long)i;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between dataset and datareader?

1102


Explain About WebService

1185


What are the uses of list view control in Asp.net?

1093


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

1005


What is the difference between session and viewstate?

1014


Describe the master page.

995


Which namespace is used by ado.net?

1034


List the advantages and disadvantages of user control an custom control?

1010


Which authentication uses a combination of windows and iis authentication?

1142


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

1131


Is asp.net is a programming language?

992


Define web services in asp.net.

1126


How is it possible for .NET to support many languages?

779


Why mvc is faster than asp.net? : Asp.Net MVC

1118


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

1020