问题
What is the best tool out there at the moment to convert java to c#? Apart from
- j2ctranslator
- j#
I use IKVM at the moment.
回答1:
For your reference:
- Sharpen by db4o
- XES
- RemoteSoft Octopus (commercial)
Note: I had no experience on them.
回答2:
Don't. Leave them as Java and use IKVM to convert them to .Net DLLs.
- http://www.ikvm.net/devguide/java2net.html
- http://sourceforge.net/apps/mediawiki/ikvm/index.php?title=Ikvmc
回答3:
I've had good results with this one. Much easier to use than Sharpen.
http://tangiblesoftwaresolutions.com/Product_Details/Java_to_CSharp_Converter.html
回答4:
Microsoft has a tool called JLCA: Java Language Conversion Assistant. I can't tell if it is better though, as I have never compared the two.
来源:https://stackoverflow.com/questions/896867/tool-to-convert-java-to-c-sharp-code