title: C# Multithreading File IO (Reading)
body: <p>We have a situation where our application needs to process a series of files and rather than perform this function synchronously, we would like to employ multi-threading to have the workload split amongst different threads.</p>
  
  <p>Each item of work is:<br>
  1. Open a file for read only<br>
  2. Process the data in the file<br>
  3. Write the processed data to a Dictionary</p>
  
  <p>We would like to perform each file's work on a new thread?
  Is this possible and should be we better to use the ThreadPool or spawn new threads keeping in mind that each item of "work" only takes 30ms however its possible that hundreds of files will need to be processed.</p>
  
  <p>Any ideas to make this more efficient is appreciated.</p>
  
  <p>EDIT: At the moment we are making use of the ThreadPool to handle this. If we have 500 files to process we cycle through the files and allocate each "unit of processing work" to the threadpool using QueueUserWorkItem.</p>
  
  <p>Is it suitable to make use of the threadpool for this?</p>