+ 6

Java vs C#

What's the difference between Java and C#? Which one is better to learn?

13th Jan 2018, 8:04 AM
Reza Sajedi
Reza Sajedi - avatar
5 Answers
+ 7
The short answer would be that officially or legitimately you can't interchange C# and Java without an interface in the middle. They are very similar but with fundamental differences like the libraries they use, one is more flexible in a few places than the other, etc. The long answer is that Microsoft created C# to catch Java developers with the advantage that in the same project the user can work with the different languages offered by the VS IDE natively (say you create a function in one language and call it in a script in another), but Java is friendlier with any language (Outside Microsoft's ownership) and can be written in any platform, like windows and work the same way "natively" in any other platform like linux, plus Android is a derived of Java. Hope this answer is for you Rabist.
13th Jan 2018, 12:51 PM
Roberto Guisarre
Roberto Guisarre - avatar
+ 8
https://www.sololearn.com/Discuss/175137/c-vs-java/ https://www.sololearn.com/Discuss/943676/duplicate-c-or-java https://www.sololearn.com/Discuss/75214/should-i-learn-c-or-java-if-i-want-to-start-programming-mobile-games https://www.upwork.com/hiring/development/c-vs-java/ C# vs. Java: Which Programming Language is Best For You? - Upwork https://msdn.microsoft.com/en-us/library/ms836794.aspx C# and Java: Comparing Programming Languages https://softwareengineering.stackexchange.com/questions/125712/for-what-reasons-should-i-choose-c-over-java-and-c For what reasons should I choose C# over Java and C++? @Rabist Please search the tags before you post any question.There are many question which are exact same to this. Please search before you post.It will be directly marked as the duplicate by Gold-Moderators.
13th Jan 2018, 8:17 AM
Akash Pal
Akash Pal - avatar
+ 4
To start I recommend C#. Because, It is easyer create a program and deploy it.
14th Jan 2018, 1:29 AM
Vinicius Souza
Vinicius Souza - avatar
+ 3
Thank you so much! But I mean what's the difference in coding structure. How can we convert Java to C# or reverse?
13th Jan 2018, 8:20 AM
Reza Sajedi
Reza Sajedi - avatar