collect text file information using c#
- by riad
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