JAVA vs C#

  • 9 Bal '15 ... p_and_Java

Expressions and operators Java C#
Lifted operators No Yes
Overflow control No Yes
Strict floating point evaluation Yes; opt-in/out No
Verbatim (here-)strings No Yes[31]

Arrays and Collections Java C#
Multidimensional arrays, rectangular (single array) No Yes
Multidimensional arrays, jagged (arrays of arrays) Yes Yes
Non-zero based arrays No Some
Unified arrays and collections No Yes

Data types Java C#
Unsigned integers No; but some method support.[2] Yes; 8, 16, 32, 64 bits