Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# counting lines

public long CountLinesLINQ(FileInfo file)  
    => File.ReadLines(file.FullName).Count();
 
PREVIOUS NEXT
Tagged: #counting #lines
ADD COMMENT
Topic
Name
5+4 =