I am new To C# and XML
How can I write Id, name, AvailProducts and Cost with new values to an XML file in C#?
<root>
<Bathing>
<Id>San100</Id>
<name>Santoor</name>
<AvailProducts>30</AvailProducts>
<Cost>20.00</Cost>
</Bathing>
<Bathing>
<Id>Det123</Id>
<name>Dettol</name>
<AvailProducts>30</AvailProducts>
<Cost>15.00</Cost>
</Bathing>
<Bathing>
<Id>Rex123</Id>
<name>Rexona</name>
<AvailProducts>30</AvailProducts>
<Cost>16.00</Cost>
</Bathing>
</root>
As everyone else said, you should have first try to find answer by searching in Google or even stackflow itself might have guided you.
Anyway,