Here is the XML I have in a file:
SPECIAL NOTE: This is a question for Windows Phone 7, not general C#
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<item>
<date>01/01</date>
<word>aberrant</word>
<def>straying from the right or normal way</def>
</item>
<item>
<date>01/02</date>
<word>Zeitgeist</word>
<def>the spirit of the time.</def>
</item>
</rss>
I need it in a List
(aka array) of Dictionary
objects. Each Dictionary
represents an <item>
. Each element like <word>
is the key
with type string
and each value like "Zeitgeist" is the value
with type string
.
Is there any easy way to do this? I'm coming from Objective-C and iOS so this is completely new to me with .NET and C#.