Java and C# are so similar... I was wondering how they stand up against each other ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java and C# are so similar... I was wondering how they stand up against each other ?

Java vs C#..your call..

17th Jun 2017, 6:56 AM
suryapoojary
suryapoojary - avatar
5 Answers
+ 2
They both are very similar. But powerful Java runs on Java Virtual Machine. This makes it ideal to run on multiple platforms. C# is a lot faster than Java. Mainly because when it's compiled it is compiled to machine language, making it a lot easier for your computer to run. It is possible to run C# on multiple platforms. I prefer programming writing with C#.
17th Jun 2017, 7:02 AM
Limitless
Limitless - avatar
+ 2
Out of Java and C# I've only programmed in C#, but I have a friend who's been programming in Java for a couple of years and says "C# is a better Java, it does right what Java does wrong." One thing he brought up were properties in C# vs getters and setters in Java. Either way, this is just the opinion of one guy, so take it with a grain of salt. Personally, I love C#, it made understanding OOP concepts easy for me.
17th Jun 2017, 7:04 AM
Tim
0
C# will do in windows Desktop App Dev,Windows Phone app dev..can it share the same code base for Android dev?
17th Jun 2017, 7:03 AM
suryapoojary
suryapoojary - avatar
0
I like the way Java gives u an option for user-input as an integer : int a = Scanner Variable.nextInt(); whereas in C#, I have to do a = Console.Readline(); variable = int.Parse(a);
17th Jun 2017, 7:29 AM
suryapoojary
suryapoojary - avatar
17th Jun 2017, 4:55 PM
Limitless
Limitless - avatar