How to VB.NET TextWriter
Textreader and TextWriter are the another way to read and write file respectively, even though these are not stream classes. The StreamReader and StreamWriter classes are derived from TextReader and TextWriter classes respectively. The following sample source showing how write in a file using TextWriter .
When you execute this source code , you will get a file TextWriter.txt and inside it written vb.net-informations.com .