C# WinForms:
The things I want to save:
name: string
previous value: double
new value: double
so each entity has those three fields, the number of them will not be too much at all, maybe 10 max. All I want to do with them is just to be able to add some members to it and then loop through them and read them later.
so one easy way would be having three arrays, one for each.
It is not really thay big of a deal to create a Class for it, etc..so I am looking for some good strudcutres that I can use, Arrays like what I said above? any better choice?
Class or struct is clearly the way to go. If you want to avoid a class you could use a
Dictionary<string, KeyValuePair<double, double>>where the key is the name and the KeyValuePair represents the previous and new values