remove lines from textfile

48

remove lines from textfile -

var lines = System.IO.File.ReadAllLines("...");
System.IO.File.WriteAllLines("...", lines.Take(lines.Length - 1).ToArray());

Comments

Submit
0 Comments