MSDN says that
The object data type is the type to and from which objects are boxed.
I thought only value types are boxed? Now I am bit confused. So when I assign reference type variable to object variable, its boxing?
Only value types are boxed.
So, to be accurate the sentence should be:
"The object data type is the type to and from which values are boxed."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With