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
How to use the FindControl() function to preselect an item in my dropdownlist?
What is window form application?
What are the components of gui for windows?
Explain how to net forms the windows?
i already displaying one datagrid. now i want to make change to particular column header i.e i want to split that column header and it includes one more header.... write a code for that in windows application using C#.net
How can you pause a timer control?
What is formdata?
What is the synonym of form?
What is form application?
Explain how many number of events does the timer controls?
What is form and meaning?
What is form design?
What is difference between winforms and windows forms?
how print barcode
What is a fillable form?