count line s 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();