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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -