📅  最后修改于: 2022-03-11 14:49:08.600000             🧑  作者: Mango
String csv = String.Join(
Environment.NewLine,
data.Select(d => $"{d.Key};{d.Value};")
);
System.IO.File.WriteAllText(pathToCsv, csv);