The answer is "StreamWriter class".
The StreamWriter class is intended for character yield in a specific Encoding, while subclasses of Stream are intended for byte information and yield. StreamWriter defaults to utilizing a case of UTF8Encoding unless indicated generally. The introduction of the encoding is added to a stream when you are not attaching to a current stream.