We are using .NET to create various reports (in .txt format) - so files created are text files. Using streamwriter and corresponding code like writer.WriteLine(.......)'s to format the output on the report. Lot of reports, so lot of manual work. Wondering if anyone has a faster way to do this - from the foo.txt report file, can we create the c# code - basically get back the write.writeLine code blocks.
So the foo.txt file -> gets passed to this converter -> which would output all the write.writelines with corresponding spaces and other formatted text in the .txt file. If any of the experts could help.