'How to call Java method from c# using jni4net?

I have a default java class JavaClass.java which have one method Return() which return 1. How can I simply call this java method from .net framework project?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source