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 how it is done internally?

Answer Posted / surya

Boxing is an implicit conversion of a value type to the
type object
int i = 123; // A value type
Object box = i // Boxing
CASTING: casting is the process of converting a variable
from one type to another (from a string to an integer)
Unboxing is an explicit conversion from the type object to
a value type
int i = 123; // A value type
object box = i; // Boxing
int j = (int) box; // Unboxing

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which property of the errorprovider control automatically sets to the form to which?

971


Which event occurs when a user drags an item in a treeview or listview control?

980


Name the property which of menu cannot be set at run time?

1090


What is the full form of gac?

1186


Explain the difference between listindex and tab index?

1043


Is windows an application software?

1012


What is the difference between a document and a form?

998


Explain how insert record in the database?

1026


Explain the difference between listbox and combo box?

964


What is the difference between the add() and insert() methods of a listbox control?

1040


Which property value of the helpnavigator property will display the index for a specified topic?

1013


Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.

953


What is the use of play() playlooping() functions?

1050


What are windows based applications examples?

1047


What is form application?

964