CSharp vs Java

In a sense Java and C# are quite similar, but when you get a bit under the tip you will notice some of the difference between both languages. For some reason C# felt a bit more easier the Java to me, and a bit (a lot) more powerful. There are things like defining getter and setter in a bit more smart way then just creating a method.

Java:

C#:

This is just a little example on how easier C# is in its way. With C# 3.0 (.Net Framework 3.0) Microsoft introduced Linq, a engine for creating advance AI (artificial intelligence). With Linq a XML file can be handled as a SQL database (almost). If Linq was nothing it would not have been ported to PHP.

Leave a Reply