My problem was about to write an array to text file (I can make this) then I want to make another operations. This operations not about the text file. Just simple pressing sentences to monitor that I want. But I got an error message. ObjectDisposedException was unhandled. Cannot write to a closed TextWriter. Already I dont want to write this sentences to text. How can I solve this?