What is boxing and how it is done internally?

Answer Posted / sandhya

Boxing is an implicit conversion of a value type to the
type object
int i = 123; // A value type
Object box = i // Boxing

In case of value type ,value is stored in the stack but
after boxing process value is stored in to heap.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the property which is used to specify the source from where the crystal reports would be accessed.

639


How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar

2067


How to split a column header in gridview using c#.net?

818


Which property of the progressbar control specifies the amount to increment the current value of the control?

599


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

1948






Explain the difference between listbox and combo box?

588


Which command prompt utility is used to convert a resource file from the text format into the binary format?

686


Are windows forms still used?

657


What is form based application?

627


What is form application?

619


What are the different cloud platforms?

623


What is the difference between a document and a form?

645


Which dialog box allows users to switch to another area of the application?

662


Explain how many number of events does the timer controls?

607


Explain how to split a column header in gridview using c#.net?

648