TextReader and TextWriter Classes in VB.NET

In this article I will explain you about TextReader and TextWriter Classes in VB.NET
  • 3124

Like the abstract Stream class, which provides the base of all byte streams, the abstract TextReader and TextWriter classes provide the base for all character streams. These classes are used to read and write a sequential stream of Unicode characters. Since these classes read and write characters, streams extending these classes can do specific encoding for localization purposes. TextReader and TextWriter do not provide random access. Table 1.1 lists some of the methods used with the TextReader class, and Table 1.2 lists methods to be used with TextWriter.
Table 1.1: Some Methods of the TextReader Class


Table 1.2: Some Methods of the TextWriter Class


 Hope this article would have helped you in understanding TextReader and TextWriter Classes in VB.NET


More Articles

© 2020 DotNetHeaven. All rights reserved.