DEV Community

Discussion on: How to write to a file with C# - StackOverflow doesn't get it right

Collapse
 
tia profile image
tia

File.WriteAllLinesAsync is a good candidate if the string lines are generated without using I/O. Too bad it does not support IAsyncEnumerable yet.