Where I am most developers like C# over Java. The only time Java is preferred is with Android development.
I'm not sure where the dislike of C# and .net come from if that is true. .net has been evolving into a more modern framework that works on both Windows and Linux so perhaps developers will give it another look.
Like Java, C# is a very versatile language and the .net framework lets you use C# to create almost any type of application.
Marco Alka
Software Engineer, Technical Consultant & Mentor
I had to use C# for desktop programs and now I have to use Java for web, so I might be able to compare them from my point of view:
There might be more reasons, though that's what comes to my mind right now