I am fairly new to programming. I am trying to add an XML file in order to store some mappings. I want to ready these key value pairs in a dictionary. Following is the format of the XML I am thinking:
<?xml version="1.0" encoding="utf-8" ?>
<Map>
<add keyword="keyword1" replaceWith="replaceMe1"/>
<add keyword="keyword2" replaceWith="replaceMe2"/>
</Map>
Can you please tell me if the format is correct? If it is, how would I read it into my C# dictionary?