Skip to main content
added 33 characters in body
Source Link
Chiron
  • 20.3k
  • 18
  • 84
  • 135

I don't know any thing about C# programming language but the concept should be the same when you call Java code from Clojure.

To call instance method:

(.methodName objectInstance params...) 

To call static method (assuming C# has static methods):

(ClassName/staticMethod params...) 

I don't know any thing about C# programming language but the concept should be the same when you call Java code from Clojure.

To call instance method:

(.methodName objectInstance params...) 

To call static method:

(ClassName/staticMethod params...) 

I don't know any thing about C# programming language but the concept should be the same when you call Java code from Clojure.

To call instance method:

(.methodName objectInstance params...) 

To call static method (assuming C# has static methods):

(ClassName/staticMethod params...) 
Source Link
Chiron
  • 20.3k
  • 18
  • 84
  • 135

I don't know any thing about C# programming language but the concept should be the same when you call Java code from Clojure.

To call instance method:

(.methodName objectInstance params...) 

To call static method:

(ClassName/staticMethod params...)