I have a dynamic XML structure which is looks like this:
<RES>
<A>value 1</A>
<B>value 2</B>
<C>value 3</C>
</RES>
My question is how can I parse it to Dictionary<string, string> object?
I tried this but it is no working:
[XmlElement(ElementName = "RES")]
public Dictionary<string, string> result { get; set; }
Could you please help me on it?