使用Java类与C# [英] Using Java-classes with C#
本文介绍了使用Java类与C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用Java编写的(> 1.5)。
I have a project written in Java (>1.5).
是否有可能写入该项目的部分用C#?结果
例如GUI和调用的方法和实例化用Java编写的类?
Is it possible to write parts of the project with C#?
For instance the GUI and calling the methods and instanciate the classes written in java?
如果是,如何?
推荐答案
有一些所谓的 Java语言转换助理了解.NET。您可以将Java类转换成C#和开始编码。
There is something called Java Language Conversion Assistant for .NET. You can convert your Java classes to c# and start coding.
还有一些所谓的 JNBridge的(不是免费的)。
There is also something called JNBridge (not free).
这篇关于使用Java类与C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文