How should I convert Java code to C# code?

前端 未结 6 1346
天命终不由人
天命终不由人 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条回答
  •  旧时难觅i
    2021-01-12 20:11

    One more quick-and-dirty idea: you could use IKVM to convert the Java jar to a .NET assembly, then use Reflector--combined with the FileDisassembler Add-in--to disassemble it into a Visual C# project.

    (By the way, I haven't actually used IKVM--anyone care to vouch that this process would work?)

提交回复
热议问题