STREAM WRITER IN C#
A stream writer is used to append or to overwrite a text over another.
streamwriter stwriter=new streamwriter(document.txt);
It creates a text named document.
If such a document already exists it replaces the previous one.
stwriter.Flush() : It is used to flush or to clear a particular file or data
stwriter.Close() : It is used to close a particular stream.
It creates a text named document.
If such a document already exists it replaces the previous one.
stwriter.Flush() : It is used to flush or to clear a particular file or data
stwriter.Close() : It is used to close a particular stream.
Comments
Post a Comment