Пример #1
0
        public static int MainMethod(string[] args)
        {
            dynamic d  = new FurtherDerived();
            long    x  = 3;
            int     xx = d[x];

            if (xx != 5 || Base.Status != 5)
            {
                return(1);
            }
            d[x] = xx;
            if (Base.Status != 6)
            {
                return(1);
            }
            return(0);
        }
 public static int MainMethod(string[] args)
 {
     dynamic d = new FurtherDerived();
     long x = 3;
     int xx = d[x];
     if (xx != 5 || Base.Status != 5)
         return 1;
     d[x] = xx;
     if (Base.Status != 6)
         return 1;
     return 0;
 }