[求助]c# for循环的内容赋给变量
string aa="";
for(int iFile=0;iFile<files.Count;iFile++)
{
string fileName="";
HttpPostedFile postedFile = files[iFile];
fileName = postedFile.FileName;
fileName = System.IO.Path.GetFileName(fileName);
fileName = fileName + ";";
}
for(int iFile=0;iFile<files.Count;iFile++)
{
string fileName="";
HttpPostedFile postedFile = files[iFile];
fileName = postedFile.FileName;
fileName = System.IO.Path.GetFileName(fileName);
fileName = fileName + ";";
}
请问要怎么才能把fileName的值赋给aa;

失去并不意味绝望,天是倒过来的海,你跌了进去,却飞了起!