Example #1
0
    public static int test_0_begin_end_invoke()
    {
        IFace6 o    = new Class6();
        var    arr1 = o.Del(1);

        if (arr1 [0] != 1 || arr1 [1] != 1 || arr1 [2] != 1 || arr1 [3] != 1 || arr1 [4] != 1)
        {
            return(1);
        }
        var arr2 = o.Del(2.0);

        if (arr2 [0] != 2.0 || arr2 [1] != 2.0 || arr2 [2] != 2.0 || arr2 [3] != 2.0 || arr2 [4] != 2.0)
        {
            return(2);
        }
        return(0);
    }