Which code segment should you insert at line 04?
A. return doc.Element(“bib”).Elements().SelectMany(e1 => e1.Elements().Where(e2 => e2 .Equals(new XElement(“author”,” Author1 “))));
B. return doc.Element(“bib”).Elements().SelectMany(e1 => e1.Elements().Where(e2 => (string)e2 == ” Author1 “));
C. return doc.Element(“bib”).Elements().Where(e1 => e1.Elements().Any(e2 => (string)e2 == ” Author1 “));
D. return doc.Element(“bib”).Elements().Where(e1=> e1.Elements().Any(e2 => e2 .Equals(new XElement(“author”,”Author1″))));
Answer:C
Which code segment should you insert at line 04?
A. return doc.Element(“bib”).Elements().SelectMany(e1 => e1.Elements().Where(e2 => e2 .Equals(new XElement(“author”,” Author1 “)))); B. return doc.Element(“bib”).Elements().SelectMany(e1 => e1.Elements().Where(e2 => (string)e2 == ” Author1 “)); C. return doc.Element(“bib”).Elements().Where(e1 => e1.Elements().Any(e2 => (string)e2 == ” Author1 “)); D. return doc.Element(“bib”).Elements().Where(e1=> e1.Elements().Any(e2 => e2 .Equals(new XElement(“author”,”Author1″))));