当前位置:编程学习 > C#/ASP.NET >>

使用递归算术

使用递归算法把[[12,13],[[14,15],16,17]]
添加到一个list集合中去,里面的每一个组 --------------------编程问答-------------------- string s = "[[A1,A2,A3],[[B11,B12],B2,B3]]";
 test(s);
        void test(string s)
        {
            if (string.IsNullOrEmpty(s)) return;
            //s.SubString(0,1);
            test(s.Substring(1));
        }
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,