Dispose的调用顺序

非托管资源的释放顺序。

这是应该先释放 reader  再释放 stream。

或者直接使用using,防止出错 。

原文地址:https://www.cnblogs.com/Tpf386/p/6383361.html