Skip to content

Glossary: C# Beyond the Basics

stream

Also written: StreamReader, StreamWriter, FileStream

A file read or written piece by piece. `StreamReader` and `StreamWriter` handle text a line at a time, and a stream must be closed, so you open it with `using`.

Where the book teaches it

Related terms

IDisposableusing declarationawait using