•No automatic fall-through from one case block to the next
•Strongly-typed enums
•By reference calls are explicit at caller AND callee
•Method overrides are explicit
•Supports versioning
•Structs (value types)
•Integrated support for properties and events
•Can still use pointers with RAD language
Can share data and use functionality with components written in many different languages
Development tools and Documentation
Server-side is well supported by both Java and .NET IDEs
On the client-side .NET IDEs benefit from the fact that .NET CF is so close to .NET (With Java there are separate IDEs for desktop and mobile application development)
Compatibility problems between Java vendors
Java IDEs are slow!
C# is a richer/more complex language than Java
Both Java and .NET have well documented API
Web service documentation
.NET - MSDN
Java – Google
Support for encryption of web services
.Net CF: HTTPS and SOAP extensions
J2ME: HTTPS, but only in CDC & MIDP 2.0
C# and JAVA
CSharp and JAVA are two different Object Oriented Languages , both have some similarities and differences also . The Csharp and JAVA derived from their own single ancestor Class "Object". All Classes in C# are descended from System.Object Class and in JAVA all classes are subclasses of java.lang.Object Class.
Both C# and JAVA have their own runtime environments . C# source codes are compiled to Microsoft Intermediate Language (MSIL) and during the execution time runs it with the help of runtime environments - Common Language Runtime (CLR). Like that JAVA source codes are compiled to Java Byte Code and during the execution time runs it with the help of runtime environments - Java Virtual Machine (JVM). Both CSharp and JAVA supports native compilation via Just In Time compilers.
More over both C# and JAVA have their own Garbage Collector. In the case of keywords comparison some keywords are similar as well as some keywords are different also. The following are the examples of few similar and different keywords.
Similar Keywords examples
class , new , if , case , for , do , while , continue , int , char , double , null