In my program, I write a file, then call an external program that reads that file. Do I need Flush(true) to make sure that the data is written entirely to disk, or is Flush() su
Neither; you should simply dispose the stream in a using statement.
using
Or, better yet, replace the whole thing with File.AppendAllText().
File.AppendAllText()