Streamwriter only writes a certain amount of bytes from a string list
问题 I have 27 csv files containing employee timesheet data with about 2000 lines of data in total, and is growing day by day. I am writing an application that compiles the data in each file to a single csv file for analysis in Excel. I do this by reading each file, write its contents to a string list and then write the string list to a new file. Below is the code writing the list to the file: FileStream fs = new FileStream(saveFileDialog1.FileName, FileMode.CreateNew, FileAccess.ReadWrite);