Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Modifying XML values using C#

$
0
0
Hello everyone,

I'm trying to create a program where I can 'log' certain values. For example, I want to know how many cookies I eat each day. The 'total' should read the total amount of cookies I ate and the 'add' should add up x to the total cookies I ate already.

Posted Image

<food>
	<cookies>0</cookies>
</food>


What is the best way to start this? I'm quite a novice when it comes to C# programming, but I felt like this was a good way to learn how to interact with XML files.

Any help is appreciated. Thank you very much in advance.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>