collect text file information using c#

Posted by riad on Stack Overflow See other posts from Stack Overflow or by riad
Published on 2010-06-02T10:09:24Z Indexed on 2010/06/02 10:23 UTC
Read the original article Hit count: 322

Filed under:

Dear all,
I have a text file .let name is abc.txt .The file have info like this

jani
stay in USA
karim
stay in France
fara
stay in UK

Now i need to collect the information.the name is as nameString and the address is addressString.I have to put those information on anywhere else.So, i need all the name and address in a for loop.

Can anybody pls help me to collect this info.

Thanks in advance
Riad

© Stack Overflow or respective owner

Related posts about c#