3
Answers

NP121 StreamWriter & StreamReader

Maha

Maha

16y
3.3k
1

Hi Guys

 

NP121 StreamWriter & StreamReader

 

http://www.aspfree.com/c/a/C-Sharp/C-Sharp-StreamReader-and-StreamWriter-Explained/1/

 

In the above website program is “using StreamWriter to write to a file”. Article is continuing and there is a programusing StreamReader to read from the file”.

Contant of aFile.txt created by “using StreamReader to read from the file” is empty.

 

I wish to know whether aFile.txt created by using StreamReader to read from the file” program is quite independent or program has to Read from aFile.txt created by program “using StreamWriter to write to a file”.   

 

Please explain.

 

Thank you

Answers (3)