将java转换为c#代码的工具

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/896867/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-05 22:02:46  来源:igfitidea点击:

Tool to convert java to c# code

javac#code-translation

提问by sean

What is the best tool out there at the moment to convert java to c#? Apart from

目前将 java 转换为 c# 的最佳工具是什么?除了

  • j2ctranslator
  • j#
  • j2c翻译器
  • j#

I use IKVM at the moment.

我目前使用 IKVM。

回答by Razzie

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.

微软有一个工具叫做 JLCA:Java 语言转换助手。我不知道它是否更好,因为我从未比较过两者。

回答by Hendy Irawan

For your reference:

供你参考:

Note: I had no experience on them.

注意:我对它们没有经验。

回答by nuzzolilo

I've had good results with this one. Much easier to use than Sharpen.

我在这方面取得了不错的成绩。比 Sharpen 更容易使用。

http://tangiblesoftwaresolutions.com/Product_Details/Java_to_CSharp_Converter.html

http://tangiblesoftwaresolutions.com/Product_Details/Java_to_CSharp_Converter.html

回答by Ben

Don't. Leave them as Java and use IKVM to convert them to .Net DLLs.

别。将它们保留为 Java 并使用 IKVM 将它们转换为 .Net DLL。