这是我的 Xdocument:
<Response>
<city>
<CityName>xxx</CityName>
<CityId>1</CityId>
</city>
<city>
<CityName>yyy</CityName>
<CityId>2</CityId>
</city>
</Response>
我如何将其存储在Dictionary(cityname,cityid)
:
Dictionary<string, string > dictionary;