I am trying to deserialize this xml where all the node has the same name with a unique identifier as an attribute.
<configuration>
<setting name="host">
<value>127.0.0.1</value>
</setting>
<setting name="port">
<value>80</value>
</setting>
</configuration>
The result I am trying to achieve is:
public class Configuration
{
string host { get; set; }
int port { get; set; }
}
I read the previous question and I am still stumbling with the fact they have the same tag name.
Thank you!