Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

remove lines from textfile

var lines = System.IO.File.ReadAllLines("...");
System.IO.File.WriteAllLines("...", lines.Take(lines.Length - 1).ToArray());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #lines #textfile
ADD COMMENT
Topic
Name
4+1 =