Maha

Maha

  • NA
  • 0
  • 324.9k

NP121 StreamWriter & StreamReader

Aug 13 2008 7:32 AM

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)