TextReader 是为字符输入设计的,表示可读取连续字符系列的阅读器。参考
ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemiotextreaderclasstopic.htmtextwriter TextWriter 是为字符输出设计的,表示可以编写一个有序字符系列的编写器。该类为抽象类。参考
ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemiotextwriterclasstopic.htm
ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemiotextreaderclasstopic.htmtextwriter TextWriter 是为字符输出设计的,表示可以编写一个有序字符系列的编写器。该类为抽象类。参考
ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemiotextwriterclasstopic.htm
StreamReader是它的派生类只用get则属性为只读,不能赋值。那三个是构造函数,里面需要filestream的参数。
是调用了三个方法,这三个方法的返回值做为streamwriter类的构造函数.