C# .NET StreamWriter: How to skip lines when writing file using StreamWriter? <p>I read in a text file using StreamReader. I want to write out this same text file EXCEPT its first 4 lines and its last 6 lines.</p> <p>How do I do this? Thanks.</p>