I need to create xml element in runtime in the existing xml file. How do i do that in c#? For example, there is a xml file as
<data value = "1">
<user>one</user>
</data>
I want to create a element in runtime and output should be like this,
<data value = "1">
<user>one</user>
<status>used</status>
</data>