public void DoTest(int loops)
            {
                IMyInterface c = new InterfaceCall();

                int v = 0;

                for (int i = 0; i < loops; ++i)
                {
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                }

                this.Value = v;
            }
Example #2
0
            public void DoTest(int loops)
            {
                IMyInterface c = new InterfaceCall();

                int v = 0;
                for (int i = 0; i < loops; ++i)
                {
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                    v = c.Test(v);
                }

                this.Value = v;
            }
	public static int test() {
		InterfaceCallAux obj = new InterfaceCall();
		return obj.method();
	}
    public static int test()
    {
        InterfaceCallAux obj = new InterfaceCall();

        return(obj.method());
    }