Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# - Java interoperation [duplicate]

Tags:

java

c#

interop

Can you give me some pointers on making C# code and Java code interoperate? Let's define the interoperation as something simple: allow (from Java code) the instantiantion and method calling of a class defined in C#, and, possibly, the other way around as well.

Is this even possible natively? (i.e. without some proxy/skeleton interface mechanism)

And finally, what proxy mechanisms can be used? (i.e. are supported by both language realms)

like image 432
Cristian Diaconescu Avatar asked Apr 19 '26 22:04

Cristian Diaconescu


1 Answers

I've used IKVM to accomplish this successfully.

like image 106
Ben Hoffstein Avatar answered Apr 21 '26 11:04

Ben Hoffstein