title: File.Exists + File.Move Erroring "The process cannot access the file because it is being used by another process."
body: <p>I have what I thought would be a very simple file mover script. It checks for a file and moves it to a new directory if it exists:</p>
  
  <pre><code>if (File.Exists(_collection[x,0]))
  {
      System.IO.File.Move(_collection[x, 0], _moveTo);
      MessageBox.Show("File moved because it was stale.");
  }
  </code></pre>
  
  <p>It passes the check that the file exists, but then errors on the following line when trying to move it stating that the file is being used by another process. I can only assume that File.Exists is causing it to hang up somehow, but can't find a solution from anyone else who had this problem.</p>