我正在寻找一种在CSV文件的另一个单元格中编写字符串的方法。
我正在使用这个程序,
这里我需要在第一个单元格中写入"a",在第二个单元格中写入"b",c...
我正在使用这个程序,
private void button1_Click(object sender, EventArgs e)
{
string filePath = @"E:\test.csv";
string a = "a";
string b = "c";
string c = "d";
string d = "d";
File.WriteAllText(filePath, a);
// how can add the other strings in the next cells ?
}
这里我需要在第一个单元格中写入"a",在第二个单元格中写入"b",c...