Should I learn C# or Java if I want to start programming mobile games? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 18

Should I learn C# or Java if I want to start programming mobile games?

I've recently started learning C#. However, I have read a lot of good things about Java, and I was wondering if someone could write me some advantages and disadvantages with each language (with a focus on mobile game programming). Thanks

18th Oct 2016, 11:00 AM
//Lana Wilson
//Lana Wilson - avatar
10 Answers
+ 10
If you are going to build your games with cross platform Unity engine then go with C# Unity provides Android/iOS/gaming console/PC/Mac/ and lot more builds just from a single code. So, I vote C#
18th Oct 2016, 11:30 AM
Aaron Sarkissian
Aaron Sarkissian - avatar
+ 11
java is open source. c# is property of Microsoft. its better to start with smth free
23rd Oct 2016, 5:24 PM
Klodian Lula
Klodian Lula - avatar
+ 6
Java will work on all devices, because Java have a Virtual Machine. With C# you need to compiling for every single kind of device. That is the reason, why there are mobile games who are just supporting one operating system. The Unity Engine will compiling your C# code. But to publish your game you need licenses. Developing for IOS or Android costing a license who cost about 200 and 20000$. This "Licence" is the Licence to sell your Product. Without a licence you can't sell something legally.
27th Oct 2016, 8:16 AM
Fronz-Tec
Fronz-Tec - avatar
+ 5
if you want to focus on mobile game, you should learn java for make an android apps, because android is most popular than windows mobile(which use c# for making the apps)
3rd Nov 2016, 10:38 PM
Rifan Ardiansyah
Rifan Ardiansyah - avatar
+ 4
Both are object oriented and awesome. But for game programming there is a major upside to using C# and that is Unity. It is a low cost game engine that allows you to do your programming in C#.
20th Oct 2016, 2:40 PM
James Flanders
+ 3
An iOS license to publish games is $2,000 - $5,000??? I thought all you need is an Apple Developer account, which costs $99/year.
21st Oct 2016, 6:25 PM
Ron
Ron - avatar
+ 3
Ron have right, but if you want earn money with your app, you must pay licences. The reason behind that is, that just companies can sell products. If you want to sell your app in the app store you must have the licences to be a company, so that you can sell your app in the Appstore
27th Oct 2016, 8:17 AM
Fronz-Tec
Fronz-Tec - avatar
+ 2
For programming mobile games (on android ) you should start with java as android is basically written in java so you should know the basics. But i think that c# and java are pretty much the same.
26th Oct 2016, 12:29 PM
No One
No One - avatar
+ 2
prefer if Java game then Java .if Android game Java . if iPhone c#. or other featured phone Java. other smartphones c# .modern phones c#
5th Nov 2016, 5:33 PM
Sandeep Chatterjee
+ 2
well you can use c# for game programming through unity
2nd Oct 2017, 5:08 PM
Dheshoju Kalyan Kumar
Dheshoju Kalyan Kumar - avatar