how to check how many line in a file c# 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();