+ 2
What are the advantages of c# vs java, if any?
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.
+ 2
Can c# run on linux?
This is an example of advantage of java. It can run on linux and windows.
+ 1
disclaimer! it's a personal thing.... ;)
the advantage of Java :
if (){
}
the disadvantage of c# :
if()
{
}
+ 1
@Yaniv. good point.
+ 1
if you learn Java, you will be able to write C# without much of an issue. very similar
+ 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.