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

What is Boxing and Unboxing?

Answer Posted / karthik

Boxing:Focing an value type into referencetype is known as boxing.
EX:int a=10;
object obj;
obj=a;
Unboxng:forcing an reference type into value type is known as unboxing.
EX:
int b:
b=(int)obj;
unboxing should be done explicitly using datatype casting.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are xaml file compiled or built on runtime?

918


What is a user developed application?

885


How does session state work in asp.net?

971


Any disadvantages in Dataset and in reflection ?

3203


What are the types of session in asp.net?

918


What do you mean by serialize and marshalbyref?

973


How can you make sure that web api returns json data only?

929


Why session management is required?

957


If you are using two select queries and retrieving data. how do you access second query's result set using data reader?

5515


Can any body provide me the sample web application in asp.net

1912


Explain the difference between overriding and overloading?

951


14. What are your Future Plans for Swatz Oils GROUP U.K?

2144


What is the use of service provider?

975


What is asp net theme?

960


Explain how to prepare culture-specific formatting in .net.

927