c# 4.0 - How do I read a single Line in StreamReader C# -


hey guys want read 6th line in test file how do without reading whole file:

        while (reader.peek() >= 0)         {             console.writeline(reader.readtoend().replace("|", "\t"));             console.readkey();         }         reader.close(); 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -