How identic is C# "if" function and Java "if" function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How identic is C# "if" function and Java "if" function?

i used some javascript.js to develop a game, but i often used C#.cs script to develop full game, when i use the both, it looks like 90% about the same, but some function name are different. I mentioned that if function on C# and Java look same, do they have any different?

2nd Feb 2017, 12:32 PM
Elvin Auresius
Elvin Auresius - avatar
5 Answers
+ 5
dude, JavaScript and Java are completely different languages.
2nd Feb 2017, 8:05 PM
James Flanders
+ 1
c#: if(myIF){ //do code } else { // do code } ________ java: if(javaif){ // do code } else { // do code } ___ they are the same...
3rd Feb 2017, 9:59 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
+ 1
ok that's great thx
3rd Feb 2017, 10:06 AM
Elvin Auresius
Elvin Auresius - avatar
+ 1
that's great, thx
3rd Feb 2017, 10:06 AM
Elvin Auresius
Elvin Auresius - avatar