Counting No.of rows in TXT file?


#1

Could you please help me out for counting no.of rows count in .TXT file??


#2

int count = File.ReadLines(path).Count();


#3

Thank youu