What is the purpose of xmltextwriter if xmlwriter is the recommended one



As per MSDN:



Although the Microsoft .NET Framework includes the XmlTextWriter class, which is a concrete implementation of the XmlWriter class, in version 2.0 of the .NET Framework, the recommended practice is to create XmlWriter instances using the Create method.



So if we have to use XmlWriter anyhow what is the purpose of having XmlTextWriter? why do it exist?


No comments:

Post a Comment