110,535
社区成员
发帖
与我相关
我的任务
分享
string fileResult =string.Empty;
if(File.Exists(path1))
{
fileResult =path1;
}
else if(File.Exists(path2))
{
fileResult = path2;
}
else if(File.Exists(path3))
{
fileResult = path3;
}
else if(File.Exists(path4))
{
fileResult = path4;
}
else if(File.Exists(path5))
{
fileResult = path5;
}
return fileResult;
if (!System.IO.File.Exists(path1))
{
}
else if (!System.IO.File.Exists(path2))
{
}
......