I want to create a CSV but when a value has comma it gets formatted wrong.
List<string[]> output = new List<string[]>();
output.Add(valuesRow.ToArray());
int length = output.Count;
for (int index = 0; index < length; index++)
{
stringBuilder.AppendLine(string.Join(delimiter,output[index]));
}
But when output[index] has value with comma its get formatted wrong.