title: read all lines in text file with separator
body: <p>I have a file with this content :</p>
  
  <pre><code>1,2,3,4,5#
  1,2,3,4,5#
  </code></pre>
  
  <p>How can i read all lines  using <code>readline</code> ?the important thing is i need to separate the values in each line ,i mean the first line's values <code>1,2,3,4,5</code> should be separated .</p>
  
  <p>Suppose i have an array named <code>myarray</code> that can save all values in first line :the array should be like this :</p>
  
  <pre><code>myarray[0]=1
  myarray[1]=2
  myarray[2]=3
  myarray[3]=4
  myarray[4]=5
  </code></pre>
  
  <p>I am so new in IO in c# </p>
  
  <p>Best regards</p>