Exemplo n.º 1
0
        public static int MainMethod()
        {
            dynamic dy     = new MemberClass.NestedMemberClass <string>();
            string  result = (string)dy.Method_ReturnsU("0");

            if (result == null)
            {
                return(0);
            }
            return(1);
        }
Exemplo n.º 2
0
        public static int MainMethod()
        {
            dynamic dy        = new MemberClass.NestedMemberClass <string>();
            int     loopCount = 0;

            while ((int)dy.Method_ReturnsDynamic <int>(null, null, loopCount, dy) < 10)
            {
                loopCount++;
            }

            return(loopCount - 10);
        }