Which code segment should you insert at line 03?
A. IEnumerable < XNode > nodes = doc.DescendantNodes();
B. IEnumerable < XNode > nodes = doc.Nodes();
C. IEnumerable < XNode > nodes = doc.Descendants();
D. IEnumerable < XNode > nodes = doc.NodesAfterSelf();
Answer:A
Which code segment should you insert at line 03?
A. IEnumerable < XNode > nodes = doc.DescendantNodes(); B. IEnumerable < XNode > nodes = doc.Nodes(); C. IEnumerable < XNode > nodes = doc.Descendants(); D. IEnumerable < XNode > nodes = doc.NodesAfterSelf();