title: How to get Number Of Lines without Reading File To End
body: <p>Is there a way to get Number of Lines within a Large Text file ,but without Reading the File content or reading file to end and Counting++.</p>
  
  <p>Maybe there are some File Attributes ,but cannot find it out at all .
  Because i might be in some cases where i should get Total Number of Line's and compare it to Current line to display the Percentage,and just for a Percentage Display it might be stupid to read first all Content than read it Again to Display the raw text at user.</p>
  
  <p>bests</p>