public static int MainMethod(string[] args)
        {
            dynamic d = new myFor();
            int     i = 0;

            for (d.Initialize(5); d.Done(); d.Next())
            {
                if ((int)d.Current() != i)
                {
                    return(1);
                }
                i++;
            }

            return(0);
        }
        public static int MainMethod(string[] args)
        {
            dynamic d = new myFor();
            int i = 0;
            for (d.Initialize(5); d.Done(); d.Next())
            {
                if ((int)d.Current() != i)
                    return 1;
                i++;
            }

            return 0;
        }