title: CSV file contents to two dimensional array
body: <p>This question has been asked several times with different inputs so I thought of reposting it with my requirement.</p>
  
  <p>I have a CSV file which contents string fields in the way given below.</p>
  
  <pre><code>idnum,name1, name2,groupid
  
  idnum,name1, name2,groupid
  
  idnum,name1, name2,groupid
  </code></pre>
  
  <p>example </p>
  
  <pre><code>s001,sahil,payap,gid0
  
  s002,Amir,Khan,gid02
  
  d003,hrithik,roshan,gid03
  </code></pre>
  
  <p>I have two dimensional string array. I want to read row by row to my two dimensional array.
  When it read it should be like this</p>
  
  <pre><code>arr[0][0]=s001
  
  arr[0][1]=name1
  
  arr[0][2]=name2
  
  arr[0][3]=gid01
  
  arr[1][0]=s002
  
  arr[1][1]=Amir
  
  arr[1][2]=Khan
  
  arr[1][3]=gid04
  </code></pre>
  
  <p>there are 40 records in a file and it should read till the end of the file.
  I need to implement this in C#</p>
  
  <p>Any code sample or any explanation would be great help.</p>
  
  <p>I have no knowledge in csv file handling so please don't ask what did you try, at least if you could give me a code sample for reading just one string for a variable it would be a great help.
  And please don't ask to go for another solution. 
  Thanks.</p>