+ 2

What are the advantages of c# vs java, if any?

16th Mar 2018, 7:32 PM
Yaniv Feinberg
Yaniv Feinberg - avatar
6 ответов
+ 2
I think it’s a matter of preference. They also have different libraries and frameworks. Basically, if you’re doing a certain project that requires a feature that’s not part of the language, you must research which programming language has a better library or framework for that feature.
16th Mar 2018, 7:46 PM
Ariela
Ariela - avatar
+ 2
Can c# run on linux? This is an example of advantage of java. It can run on linux and windows.
16th Mar 2018, 8:01 PM
Yaniv Feinberg
Yaniv Feinberg - avatar
+ 1
disclaimer! it's a personal thing.... ;) the advantage of Java : if (){ } the disadvantage of c# : if() { }
16th Mar 2018, 8:06 PM
Farshaad Heydari
Farshaad Heydari - avatar
+ 1
@Yaniv. good point.
16th Mar 2018, 8:07 PM
Farshaad Heydari
Farshaad Heydari - avatar
+ 1
if you learn Java, you will be able to write C# without much of an issue. very similar
16th Mar 2018, 8:15 PM
LordHill
LordHill - avatar
+ 1
C# can run on Linux. It's just a language. The .Net framework for MS can be more or less replaced by Mono. On the point of advantage, Java is much more portable, but Unity supports C#. Tough call? Nope. Just go C++ and Unreal Engine or SFML for small stuff. If you forced the Java vs C# choice on me, Java. It's growing, versatile, and growing well. It's already very popular as it is.
16th Mar 2018, 11:15 PM
non