Question:You are writing a function that accepts a string as a parameter. The string data will be
sent to the function in the form of XML. You need to write LINQ to XML code to query
this XML and process it. What steps should you take? (Choose all that apply.) 

A Use the XElement.Load method to load the XML data into a new XElement. 

B Use the XElement.Parse method to load the XML data into a new XElement. 

C Define a query variable of type IEnumerable<> where the generic type is set to
XElement. 

D Define a query variable of type IEnumerable<> where the generic type is set to the
value of the string parameter passed to the function. 

+ Answer
+ Report
Total Preview: 1309

Copyright © 2024. Powered by Intellect Software Ltd