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
What is form description?
Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?
What is a windows form application?
How do you apply specific formatting to the data inside the cells?
how print barcode
What is the full form of gac?
Explain how to net forms the windows?
Suppose I am implementing one windows form. I am inserting some values into ms access. In that table 5 columns there. But I want to insert three columns only. When I am clicking another button then other two values also insert into that table?
how barcode print on the win form
Which property value of the helpnavigator property will display the index for a specified topic?
Is windows an application software?
What are the three states set in a checkstate property?
What are window based applications?
What is form based application?
How to split a column header in gridview using c#.net?