Calling C# Object From IronPython
I have the following C# code to compile it into MyMath.dll assembly. namespace MyMath { public class Arith { public Arith() {} public int Add(int x, int y) {
Solution 1:
You should be doing the following:
from MyMath import Arith
Or:
from MyMath import *
Otherwise, you'll have to refer to the Arith
class as MyMath.Arith.
Post a Comment for "Calling C# Object From IronPython"