c# get line count in text file code example
Example: c# counting lines
public long CountLinesLINQ(FileInfo file)
=> File.ReadLines(file.FullName).Count();
public long CountLinesLINQ(FileInfo file)
=> File.ReadLines(file.FullName).Count();