Writing to a File from Multiple Threads.
I have a program that writes to a file from several different threads. How do you synchronize the file or do whatever to make writing to the files thread safe. I am currently using FileStream and StreamWriter for my IO operations.