save list of string in csv using c# code example
Example 1: turn list of string to csv c#
List<int> myValues;
string csv = String.Join(",", myValues.Select(x => x.ToString()).ToArray());
Example 2: how to write a list to csv c#
File.WriteAllLines("text.txt", lst.Select(x => string.Join(",", x)));