Which one of the folowing is the way to create an XmlReader using an XMLReaderSettings object?
a) Call the constructor.
b) Get a reader from an XmlDocument
c) Call the static create method
d) Do not use XmlReader; this class is deprecated in .NET 2.0
e) use a StringReader to intantiate the XmlReader
Loading
Posted Jun 28, 2008, 7:01 AM
XmlReader.Create("xmlfile.doc", xmlSets);
So I would say "C". The XmlReaderSettings class is just a class that allows you to pass settings to a new XmlReader instance when it is created.