请教个读取XML文件的思路
C#代码怎么读取出 AreaID:19 AreaLevel:2这样的结果呢
<plist>
<dict>
<key>南汇区</key>
<dict>
<key>AreaID</key>
<string>19</string>
<key>AreaLevel</key>
<string>2</string>
<key>AreaName</key>
<string>南汇区</string>
<key>ParentAreaID</key>
<string>31</string>
</dict>
<key>卢湾区</key>
<dict>
<key>AreaID</key>
<string>3</string>
<key>AreaLevel</key>
<string>2</string>
<key>AreaName</key>
<string>卢湾区</string>
<key>ParentAreaID</key>
<string>31</string>
</dict>
<dict>
</plist>
foreach (XElement item in xdoc.Element("plist").Descendants("dict"))
{
///求教
}