I have a C# program that reads in a json file and then spits the contents out to a csv file. The code below uses double quotes to ignore commas within the strings I concatenate together so it does not add extra columns to the csv file. However one of the string values I am reading in contains \n in the middle of it and is creating a new line when I just literally need it to print the entire string including the \n.
This is what I'm using now, it does not work for this issue:
value += @"""" + child.Value.ToString() + @"""" + ",";