.NET Framework 4.6 and 4.5
The StringWriter type exposes the following members.
|Encoding||Gets the Encoding in which the output is written. (Overrides TextWriter.Encoding.)|
|FormatProvider||Gets an object that controls formatting. (Inherited from TextWriter.)|
|NewLine||Gets or sets the line terminator string used by the current TextWriter. (Inherited from TextWriter.)|