Contents - Cultural View
Contents - Cultural View
Contents - Cultural View
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Comparison of Java and C Sharp 81<br />
C#<br />
By contrast, C# is a relatively new language. Microsoft has studied existing languages such as Java and Object<br />
Pascal, and has changed some aspects of the language and runtime environment in response to perceived failures and<br />
difficulties with its predecessors. C# accommodates constructs more commonly found in languages such as C++,<br />
Delphi (the design of which was Anders Hejlsberg's principal job when he was at Borland), and, in recent C#<br />
versions, borrows from dynamic scripting languages such as Ruby and Python.<br />
C# 3.0 adds SQL-like language integrated queries suited for querying data from collections, databases or XML<br />
documents, building upon general-purpose language features, including lambda expressions and extension methods,<br />
to allow queries to be expressed and optimized for user types.<br />
Before creating C#, Microsoft implemented a modified Java environment, called J++, adding new features in a<br />
manner which was in direct contravention to the standards and conventions ensuring the platform neutrality which<br />
lies at the heart of Java. This violated the license agreement Microsoft had signed, requiring that standards and<br />
specifications be strictly adhered to in return for using the Java name and brand logos. Sun Microsystems sued, and<br />
in settling the suit, Microsoft agreed to discontinue J++. (The settlement allowed other existing Java-using Microsoft<br />
products to continue such use for seven years. [27] ) With the release of the .NET framework (and C#), the project was<br />
revived in the form of J#.<br />
See also<br />
• Comparison of C# and VB.NET<br />
• Comparison of Java and C++<br />
• Java programming language<br />
• Comparison of the Java and .Net platforms<br />
External links<br />
• C# and Java: Comparing Programming Languages [28] at MSDN<br />
• A Comparison of C# and Java [29]<br />
• Java vs. C# - Code for Code Comparison [30]<br />
• Nine Language Performance Round-up [31]<br />
• Java and C-Sharp Compared [32]<br />
• MSDN: The C# Programming Language for Java Developers [33]<br />
• 31 Differences between C# and Java [34]<br />
• Standard ECMA-334 C# Language specification [35]<br />
• Java Language Specification (Sun) [36]<br />
References<br />
[1] http:/ / blogs. sun. com/ javafx/ entry/ how_to_use_javafx_in<br />
[2] August 1998 Java News (http:/ / www. cafeaulait. org/ 1998august. html)<br />
[3] Java Language Specification Third Edition: section 15.9 Class Instance Creation Expressions (http:/ / java. sun. com/ docs/ books/ jls/<br />
third_edition/ html/ expressions. html#41147)<br />
[4] Goetz, Brian (26 July 2005). "Java theory and practice: Be a good (event) listener" (http:/ / www. ibm. com/ developerworks/ java/ library/<br />
j-jtp07265/ index. html). IBM Developer Works. . Retrieved 2008-12-23.<br />
[5] http:/ / www. angelikalanger. com/ GenericsFAQ/ JavaGenericsFAQ. html<br />
[6] http:/ / www. angelikalanger. com/ GenericsFAQ/ FAQSections/ TechnicalDetails. html#FAQ110<br />
[7] http:/ / www. angelikalanger. com/ GenericsFAQ/ FAQSections/ TechnicalDetails. html#FAQ302<br />
[8] http:/ / www. angelikalanger. com/ GenericsFAQ/ FAQSections/ TechnicalDetails. html#FAQ304<br />
[9] there one instances of a static field per instantiation of a parameterized type? (http:/ / www. angelikalanger. com/ GenericsFAQ/<br />
FAQSections/ TypeParameters. html#Is)<br />
[10] Generics in C#, Java, and C++ (http:/ / www. artima. com/ intv/ genericsP. html)