Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to read data from XML file to List ?

$
0
0

Hello all!

I am student of programming and I don't have huge expirience in C#...

I am trying to make application for converting foregin currency into my home one (Serbian Dinar). Its my faculty project and I am trying my best to make it as best as possiable...

I made a class Curency{

private string name;
        private string Country;
        private decimal lowerRate;
        private decimal higherRate;
        private decimal midRate;

And I have a List<Currency> Val = new List<Currency>;

My question is how to add items from XML file i created which contains all those fields...?

I have been reading dozens of pages but I cannot find it to work. I used xml serializer, xdocumet reader,...


Viewing all articles
Browse latest Browse all 12583

Trending Articles



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