c# get number of lines 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();