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

Explain namespaces in c#.

973


What is lazy in c#?

892


Contrast System.String and System.Text.StringBuilder classes?

939


Can we assign null value to integer?

832


What is expression c#?

866


Can list contain duplicates c#?

833


Is multilevel inheritance possible in c#?

855


Can I use parseint?

847


Is string null or empty?

862


Give examples for reference types?

945


What is parseexact c#?

919


Why do we use threads in c#?

950


What is parameterized constructor?

889


What's the difference between class and object?

948


What are handlers in c#?

925