I want to change the value under key by matching the name attribute
for example,
If the name attribute under key is ankit then the respective value should be changed from “no” to “yes”
I want to code in C sharp,please help me
Sample Code :
<abc>
<setting name="NameSettings">
<key name="ankit" value="no">
<key name="rohan" value="Y"/>
<key name="anoop" value="1"/>
</setting>
</abc>
You could use a XDocument: