110,571
社区成员
发帖
与我相关
我的任务
分享
for (int i = 0; i < strNum.Length; i++)
{
for (int j = 0; j < strNum.Length; j++)
{
for (int k = 0; k < strNum.Length; k++)
{
for (int l = 0; l < strNum.Length; l++)
{
string str = strNum[i].ToString() + strNum[j].ToString() + strNum[k].ToString() + strNum[l].ToString();
arr.Add(str);
}
}
}
}
string strPath = "C:\\" + strName;
while (arr.Count > 0)
{
lock (this)
{
File.AppendAllText(strPath, arr[0].ToString()); arr.RemoveAt(0);
}
}