C# skipping first line of a text file -
Here is the code I am using
using (file stream fs = New filestream file name, FileMode.Open)) (StreamReader rdr = New Streamminder (FS)) {While (! Rdr.EndOfStream) {for (int z = 0; z
I want to leave the first line of the stream streamer or the string maker first Leave.
Why not Just read the first line and Do nothing with it?
using (streamer reader RDR = new streamrider (FS)) {rdr.ReadLine () ... ...
Or if you do not want to do this, test for an external variable i and i! = 0
Comments
Post a Comment