I am using a data table for storing data.
I am exporting the data from data table to CSV file.
Sometimes there may be values containing comma(,)
,
Put Value in double quotes.
string ValueToEscape = "a,b"; "\"" + ValueToEscape + "\""
CSV Output = a,b