Comparison of C Sharp and Java: Difference between revisions

Content deleted Content added
Finally Blocks and Uncaught Exceptions: There's no need to say that there's no difference, but there is a distinct difference in treatment of "finally"
Data types: Simplifying to yes and no is flat out wrong. The definition of a big decimal type doesn't require infinite precision; for the financial purposes for which they are often used, 128 bits is more than enough
Line 60:
|IEEE floating point types (bit sizes)||32,64||32,64
|-
|Big decimal (financial) type||yesarbitrary precision, part of library but without first-class language support<ref>{{cite web|url=http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html|title=Class BigDecimal|publisher=[[Sun Microsystems]]|accessdate=2009-12-24}}</ref>||no128 bits, first-class language support<ref>{{cite web|url=http://msdn.microsoft.com/en-us/library/364x0z75%28VS.80%29.aspx|title=decimal (C# Reference)|publisher=[[Microsoft]]|accessdate=2009-12-24}}</ref>
|-
|Strings and characters||yes; immutable reference type, unicode||yes; immutable reference type, unicode