Content deleted Content added
MiszaBot I (talk | contribs) m Archiving 2 thread(s) (older than 90d) to Talk:Comparison of C Sharp and Java/Archive 3. |
Add section about unsigned integer types |
||
Line 82:
::Anyway, if you are concerned using unsafe context, try to compile this: <code>Console.WriteLine((object)default(TypedReference));</code>
::.NET Framework has exceptions from its rules, and these exceptions makes statement ''“Every type is deriving from/can be converted to object.”'' false. If Microsoft wrote ''“All types derive from the System.Object base type.”'' it should also write ''”except pointers.”'' but it didn’t on that page (it did on other, the link is in my previous post). [[Special:Contributions/194.54.20.58|194.54.20.58]] ([[User talk:194.54.20.58|talk]]) 07:47, 2 March 2012 (UTC)
== Unsigned integer types ==
I changed the entry for unsigned integer types. Java's char type is an unsigned 16 bit integer. I'm tired of reading that java doesn't have any unsigned integers *at all*. It's clearly not true, although the number of unsigned integer types is very limited. The "simple/primitive types" section should probably also be changed.
== Contradiction ==
|