How should I convert Java code to C# code?

前端 未结 6 1303
天命终不由人
天命终不由人 2021-01-12 19:43

I\'m porting a Java library to C#. I\'m using Visual Studio 2008, so I don\'t have the discontinued Microsoft Java Language Conversion Assistant program (JLCA).

My a

6条回答
  •  离开以前
    2021-01-12 20:30

    Couple other options worth noting:

    • J# is Microsoft's Java language implementation on .NET. You can access Java libraries (up to version 1.4*, anyways). *actually Java 1.1.4 for java.io/lang, and 1.2 for java.util + keep in mind that J# end of life is ~ 2015-2017 for J# 2.0 redist

    • Mono's IKVM also runs Java on the CLR, with access to other .NET programs.

    • Microsoft Visual Studio 2005 comes with a "Java language conversion assistant" that converts Java programs to C# programs automatically for you.

提交回复
热议问题