title: How do I perform File.ReadAllLines on a file that is also open in Excel?
body: <p>How do I read all lines of a text file that is also open in Excel into <code>string[]</code> without getting IO exception?</p>
  
  <p>There is this question which could be a part of the answer, though I don't know how I could use what's in there:
  <a href="https://stackoverflow.com/questions/897796/how-do-i-open-an-already-opened-file-with-a-net-streamreader">How do I open an already opened file with a .net StreamReader?</a></p>