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 the difference between Boxing and Unboxing in C#



What is the difference between Boxing and Unboxing in C#..

Answer / preetha

Boxing is a process in which object instances are created
and copy values in to that instance.
Unboxing is vice versa of boxing operation where the value
is copied from the instance in to appropriate storage
location.
Below is sample code of boxing and unboxing where integer
data type is converted in to object
and then vice versa.
Dim x As Integer
83
Dim y As Object
x = 10
‘ boxing process
y = x
‘ unboxing process
x = y

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VC++ AllOther Interview Questions

What is the difference between an MLE and an SLE?

1 Answers   Infosys,


What is cmutex? How can we use it?

0 Answers  


Do I need the microsoft visual c++?

0 Answers  


Explain pointer to the constant and constant pointer? Explain difference between them.

0 Answers  


what is the difference between the codes written in the document class and view class

1 Answers  


How can we allow no selection of radio button in grouped radio buttons?

2 Answers  


Differences between vc 6.0 and vc 7.0

1 Answers   Honeywell,


How many time DLLMain gets called?

1 Answers   Microsoft,


How do I reinstall microsoft visual c++?

0 Answers  


How do I uninstall visual c++?

0 Answers  


What is the difference between the = and == operators?

1 Answers  


What is visual c++ runtime?

0 Answers  


Categories