Microsoft Exam Questions

Which code fragment will read the XML contained in node1 and its subnodes?

You create an XML document that has an XmlNode named node1. Which code fragment will read
the XML contained in node1 and its subnodes?

A.
Node1.ToString ();

B.
Node1.OuterXml;

C.
Node1.InnerXml;

D.
Node1.InnerXext;

E.
Node1.Value;