using Newtonsoft.Json.Linq;
public static void Main()
var xml = new WebClient()
.DownloadString("https://pastebin.com/raw/hAgzFC6W");
var root = XElement.Parse(xml);
var items = root.Elements("item");
foreach(var item in items)
obj[item.Attribute("key").Value] = item.Attribute("value").Value;