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

Integer at long type variable are not object.Support your
answer with example.And explain the technique to convert from
value type to reference type and vice-versa.

Answer Posted / sujit

int x=10;
object obj=x;//called boxing
x=convert.ToInt32(obj);// called unboxing

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does int32 mean?

900


How do generics work in c#?

914


Explain partial class in c#?

922


How to find out that the code is written as managed or un-managed code?

1107


What are the various components in crystal reports?

960


Differentiate between static class and singleton instance?

1029


What is type cast in C#?

1007


What is typeof c#?

962


What are accessors?

1008


what is a destructor?

996


What is difference between .net and c#?

945


What is the default value of date?

947


What are the drawbacks of extending an interface as opposed to extending a class?

891


what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?

967


what is the difference between a struct and a class in c#?

1164