This article has been excerpted from book "The Complete Visual C# Programmer's Guide" from the Authors of C# Corner.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 6.11 lists some of the methods used with the TextReader class, and Table 6.12 lists methods to be used with TextWriter. Table 6.11: Some Methods of the TextReader ClassTable 6.12: Some Methods of the TextWriter Class ConclusionHope this article would have helped you in understanding TextReader and TextWriter Classes in C#. See other articles on the website on .NET and C#.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: