The XmlWriter class is used to write XML to a file,or a stream, or a Textwriter object. This class works in a forward-only, non-cached manner.
You can configure the XmlWriter object up to a large extent.
With this object, you can specify the following things:
1) Such as whether to indent content or not,
2) The amount to indent,
3) What quote character to use in attribute values,
4) Whether or not namespaces are supported.
Asked In: Many Interviews |