main.cs581 chars20 lines
This code uses the StreamReader class to read the input file one line at a time. It then uses a StreamWriter class to write each line to the output file. The using statement is used to ensure that the file objects are properly closed and disposed.
gistlibby LogSnag