collect text file information using c#
<p>Dear all,<br>
I have a text file named <code>abc.txt</code>. The file have info like this </p>

<pre><code>jani
stay in USA
karim
stay in France
fara
stay in UK
</code></pre>

<p>The code needs to read the file from beginning and read the first line and put it to in a string let <code>nameString</code>. Then it read the second line and put the info to a another string let name <code>addressString</code>. Then it read the third line and put the info into <code>nameString</code> and then forth line and put the info as <code>addressString</code>. Like this way it will continue up to the end of file. I have to put those information on anywhere else. So, I need all the name and address in a for loop.</p>

<p>Can anybody pls help me to collect this info.</p>

<p>Thanks in advance<br>
Riad</p>
