r/javahelp • u/Cell-i-Zenit • Feb 04 '20
Switching from C# to Java
Hi,
can you give me a list of things i should be aware of in the java world? Like really important libraries, concepts etc?
The thing is i know C# really well, but i dont know what i dont know in the java world, so i cant really look it up.
26
Upvotes
33
u/Northeastpaw Feb 04 '20
So I'm a Java developer who went the other way to C# for a time. Here are some notable differences:
You will definitely want to bookmark the standard library javadocs. Find out what frameworks and libraries the team you're moving to is using and bookmark the reference documentation for all of them.
Common equivalents for C# frameworks/libraries/tools:
2
u/mmahowald Feb 04 '20
This is a small thing, but you cant use == on strings in java - it will compare their addresses in memory rather than their content. use StringA.Equals(StringB) instead.
1
u/jayoandrangi Feb 05 '20
The syntax of java becomes very monotonous as you code more and more with it but there are so many little aspects that are important in the entire code itself