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 |
Difference between getmessage, postmessage & peakmessage.
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
What is the difference between the client and non-client areas?
hi i have 1180 in gre and 109 in toefl i have one more backlog to clear now. My classes got over in 2007 july. can i put a course completion certificate for my f1 visa interview. plz help
Can I uninstall visual c++ 2005?
What are some differences between a form view and a dialog box?
2 Answers DS Group, Manipal Ecommerce,
What is iunknown? Explain some of commonly used methods provided by iunknown.
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
Is visual c++ a compiler?
Differences between vc 6.0 and vc 7.0
What is cmutex?
What is a glyph?