XmlWriter.Create Method (String)
Creates a new XmlWriter instance using the specified filename.
Assembly: System.Xml (in System.Xml.dll)
When you use this overload, an XmlWriterSettings object with default settings is used to create the XML writer.
Default (no removal)
\r\n (carriage return, new line)
If you want to specify the features to support on the created XML writer, use an overload that takes an XmlWriterSettings object as one of its arguments, and pass in a XmlWriterSettings object with your custom settings.
Available since 2.0