how to save list to csv c# code example Example: how to write a list to csv c# File.WriteAllLines("text.txt", lst.Select(x => string.Join(",", x)));