instruction from my code:
streamIdentical.Write(files[LEFT].subFilepath[leftFileIndex] + ", " +
files[RIGHT].subFilepath[rightFileIndex] + " " +
files[LEFT].status[leftFileIndex] + "\n");
I copied the variable strings to Watch Window and they evaluate to valid strings every time it fails! They are not excessively long(approx 50 chars, 50 chars, 15 chars) strings.
I am processing the exact string[] of filepaths each time, BUT it fails at a different leftFileIndex and rightFileIndex each time!
Exception claims "count" is <0, count is 4th parameter passed to CopyTo().
Is this a bug in the dll?