public static int UseComplex() { var complex = new Simple.Complex(10, "xx"); var res = complex.DoStuff(); return(res); }
public static int UseComplex(int a, int b) { var complex = new Simple.Complex(10, "xx"); int c = a + b; int d = c + b; int e = d + a; int f = 0; e += complex.DoStuff(); return(e); }
public static int IntAdd(int a, int b) { var cp = new Simple.Complex(10, "hello"); int c = a + b; int d = c + b; int e = d + a; e += cp.DoStuff(); return(e); }
[System.Runtime.InteropServices.JavaScript.JSExport] public static int UseComplex(int a, int b) { var complex = new Simple.Complex(10, "xx"); int c = a + b; int d = c + b; int e = d + a; int f = 0; e += complex.DoStuff(); return(e); }