title: Reading text file and checking column count is the same for all rows
body: <p>I have a txt file which contains n numbers of row and each row has n number of columns with one delimiter. </p>
  
  <p>How to read that txt file line by line and check all the rows has same columns. if any row has extra column then show the row number with text.</p>
  
  <p>suppose I have below rows in my txt file</p>
  
  <blockquote>
    <p>147789-00,67,KB08,2007,12,0.000 ,0.000 ,0.000</p>
    
    <p>A22951,67,RN3W,2007,12,0.000 ,0.000 ,0.000</p>
    
    <p>946106-00,67,RN1W,2007,12,0.000 ,0.000 ,0.000,000</p>
    
    <p>A22951,67,RN3W,2007,12,0.000 ,0.000 ,0.000</p>
  </blockquote>
  
  <p>out of 4 row 3rd row has extra column, same way there could be some one rows can have extra columns. that extra columns I want to find. or I can say if any rows has extra delimiter then it will show the row number with text. </p>
  
  <pre><code>foreach (string line in File.ReadLines(@"c:\file.txt", Encoding.UTF8))
  {
         // how to match the columns    
  }
  </code></pre>
  
  <p>Am I going in right path.. Please someone help me.</p>