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];
}
}
}
原文:http://www.cnblogs.com/myblogslh/p/4165409.html