5
Contributors
6
Replies
10
Views
5 Years
Discussion Span
Last Post by Ritesh_4
0

May I ask why? If you just need portability you could try compiling it with MonoDevelop (supports Linux, Mac OSX and Windows). Never really used it personally though...

0

I would like to know the equivalent code which results when moving a program from C# to Java

0

The languages are very similar, but the APIs are completely different. Converting the syntax (with a few specific exceptions) is no big deal, but mapping/converting the APIs would be a massive task.

0

There are a number of tools available. CS2J is an off-line converter. It uses translation templates to guide the conversion of .Net APIs to Java.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.