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 |
What is microsoft visual c++ redistributable and do I need it?
In which Way invoke context-sensitive help inside the editor?
Where can I find microsoft visual c++?
What is the difference between Undo and Redo?
Which steps are required to add a column to a list view?
What are some differences between a form view and a dialog box?
2 Answers DS Group, Manipal Ecommerce,
What is dao in vc ++?
What is odbc in vc ++?
What is a microsoft visual c++ 2008 redistributable?
How many microsoft visual c++ do you need?
Do I need all the microsoft visual c++ redistributable?
How do you handle drag and drop in ole?