I'm looking for a way to write strings in a different cell of a CSV file.
I'm using this program,
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 ?
}
What I need here is to write "a" in the first cell, "b" in the second cell, c ..