2
Answers

StreamReader and Delimeters... Help!!!

How can you view and display your text file to your C# windows application?

Help! I'm kinda confused on doing this program.

You have a .txt file (from Notepad) that has the following input in the first line:
________________________
|________________ mp2.txt _|
|1234567#JohnEdwards#Ohio  |
|1233456#Walter#NewYork     | 
|________________________|
 
wherein,
the 1st - ID, 2nd - Name, 3rd - Location

How can you able to view and display these outputs using the C# application, in such a way that '1234567','John Edwards' and 'Ohio' are different inputs, wherein, they are all displayed separately in a label/text button?

 
It has something to do with delimiters. What codes should I use?
 
 
Thanks for your help...
Answers (2)