Метод TextReader.Close()

Закрывает TextReader и освобождает все системные ресурсы, связанные с TextReader.

Синтаксис

public virtual void Close()