Class TextWriter supports writing of characters and strings via a chosen encoding
It is also possible to write textual representations of simple types with use of TextWriter