 <p>If you want to use it more times in your program then it's maybe a good idea to make a custom class inherited from StreamReader with the ability to skip lines.</p> <p>Something like this could do:</p> <pre><code>class SkippableStreamReader : StreamReader { public SkippableStreamReader(string path) : base(path) { } public void SkipLines(int linecount) { for (int i = 0; i &lt; linecount; i++) { this.ReadLine(); } } } </code></pre> <p>after this you could use the SkippableStreamReader's function to skip lines. Example:</p> <pre><code>SkippableStreamReader exampleReader = new SkippableStreamReader("file_to_read"); //do stuff //and when needed exampleReader.SkipLines(number_of_lines_to_skip); </code></pre>