Talk:Comparison of C Sharp and Java: Difference between revisions

Content deleted Content added
BU RoBOT (talk | contribs)
m top: Auto-assessment of article class. Editors are encouraged to manually assess articles. See User:BU_RoBOT/autoassess for more info.
No edit summary
Line 17:
}}
__TOC__
 
== Boxing/Unboxing ==
 
The following statement in the text seems inaccurate:
 
In C#, the primitive types are subtypes of the Object type.
 
The C# MSDN Reference Documentation from Microsoft says this about primitive types:
 
Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the CLR boxes a value type, it wraps the value inside a System.Object and stores it on the managed heap. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit. The concept of boxing and unboxing underlies the C# unified view of the type system in which a value of any type can be treated as an object.
 
Which is available at this link: https://msdn.microsoft.com/en-us/library/yz2be5wk.aspx
 
== Page Is Irrelevent ==