I\'ve xml as following:
Log In
var xdoc = XDocument.Load(path_to_xml); _dictionary = xdoc.Descendants("data") .ToDictionary(d => (string)d.Attribute("name"), d => (string)d);