In which areas is C # used more, and in which Java?

Both enterprises, both mobile applications: Android, WP7 (Mango).

I have a choice in my free time to study. In the future, to rivet molds (and prescribe events to them - exaggerating of course) there is no desire ... Would you like something interesting? what to choose?

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants Athari , aleksandr barakin , Regent , Peter Olson , Dmi7ry 7 Jul '15 at 4:59 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

    4 answers 4

    In my opinion, an article on Wikipedia describes many things correctly: Comparison of C Sharp and Java

    I personally work with C # especially I like the ASP.NET MVC framework, I focus on it, although I have worked with WinForms, WPF / Silverlight (not professional)

    • and what else can you do? - vas

    Depending on the task, for example, C # is often used in an environment with MS SQL databases, Java - Oracle. A good developer chooses a language for the task, rather than adapts a specific language to all tasks.

    • Correct answer. A real programmer, for a specific task, will deal with the necessary language. But it will not fence the tons of code in the language that knows! - Jakeroid

    At one time, knowledge of C # greatly facilitated the study of Java, there are many similar in terms of syntax. IMHO, it is better to start with C #, as it is more readable and understandable.

    • and the development environment - Visual Studio - easier - Specter

    For mobile applications, Java is more commonly used.

    For cross-platform development of Windows / Linux is also java. Although this is likely to change over time. The compiler code is open, the .net code itself is also.

    For desktop applications java questionable. There are frames, the same Open Office proves that you can do something on it well. But still there are very few such examples.

    Both are quite popular for web development. Sobsvenno, it is now very popular.

    If you choose java, you will rake up a bunch of xml - I’m there almost in all the frames ponapihan. Plus, no syntactic sugar, no operator overloading, no properties, everything is terribly cumbersome and with long names.

    If C #, then everything is done for the convenience of the programmer. Operator overloading has properties, there are delegates (in fact, function pointers). New features are constantly being considered, the language is actively developing, although very few changes occur in the .net platform itself.

    And also, my personal opinion: it’s almost impossible to run something written in Java just the first time. It is necessary to climb on the variable environment, make sure the version number of the installed java, and so on ... A kind of linux-way. And on Sharpe everything somehow works right away. The frameworker is usually already installed, but even if not, then you just need to install it and it will work. No extra fuss.