25
How do I read all lines of a text file that is also open in Excel into string[] without getting IO exception?
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: How do I open an already opened file with a .net StreamReader?