我有一个类似的xml文件和字典Dictionary>m_dictSample=newDictionary>();我需要将文件中的数据添加到字典中,例如:KeyOne"1""2""3""4"KeyTwo"5""6"KeyThree"7""8""9""10"现在我正在使用likeListlst=newList();lst=(XDocument.Load(Application.StartupPath+"\\Sample.xml").Descendants("Element").Select(l_Temp=>l_Temp.Attribute("Key").Value)).ToList();m