"how to convert xml to dictionary" Code Answer

3
var xdoc = xdocument.load(path_to_xml);
_dictionary = xdoc.descendants("data")
                  .todictionary(d => (string)d.attribute("name"),
                                d => (string)d);
By C-Mo on June 19 2022
Only authorized users can answer the Search term. Please sign in first, or register a free account.