在下面的代码中,我想在每个循环循环的 CSV 文件的新行中获取 Test1 值。我怎么能这样做-
for (int j = 0; j < 10000; j++)
{
if (NPVAmount > 0) // Positive amount
{
Positivetemp = NPVAmount + Positivetemp;
Temp = Convert.ToString(Positivetemp)+ ","+ j +","+ UniqueCurrencyHolder+",";
Test1 =Test1 + Temp;
}
}