I am developing a C# console application using VS2010.
I am reading a combination binary and text file and writing out 3 different output files.
My code is attached.
I am getting an error "Cannot write to a closed TextWriter."
when the following line of code is executed:
I placed the following 2 statements before the FOR LOOP:
string indFilePath = System.IO.Path.Combine(MyG
E_DIR, MyGlobals.BASE_FILE_Name + ".ard.ind");
using(StreamWriter sw = new StreamWriter(indFilePath, true))
for (int i = 0; i < bytes.Length; i++)