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

List of words of preprocessor in .net?

892


Can you dynamically assign a Master Page?

940


Give 2 examples for scenarios when routing is not applied?

998


What is difference between session and cookies in asp net?

995


What asp.net control can embed xaml into asp.net pages?

938


Explain different types of validators in asp.net?

960


Explain the benefits of viewstate?

963


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

985


Why do you use the app_code folder in asp.net?

1041


Explain Optimization technique description?

991


What are Master Pages in ASP.NET? or What is a Master Page?

1055


Explain method to handle error using HttpError in Web API?

1007


What is the procedure to handle the process request using mhpm events fired? : asp.net mvc

1002


Where is the session stored?

1049


what are the ihttphandler and ihttphandlerfactory interfaces ?

904