位数拼接

public void getArray()
        {
            string[] str = new string[] {"1","2","3","4","5" };
            List<string> strList = new List<string>();
            for (int i = 0; i < str.Length; i++)
            {
                for (int j = 0; j < str.Length; j++)
                {
                    strList.Add(str[i] + str[j]);
                    //pjh += str[i]+","+str[j];
                }
            }
        }

 

posted @ 2014-12-15 18:04  临冰听雪丶  阅读(149)  评论(0编辑  收藏  举报