Where is the best place to store variables that may or may not be saved (users choice)
Posted on 2007-08-10
I have some program variables in a C# program that may or may not have content. My question is: where is the best place to store those variables, if, in fact, they are to be saved? (user's choice). I have tried the registry which worked fine until someone ran the program on Vista, and that caused the program to crash due to authorization level. I was thinking about Settings, but since I have about 30 of these that *might* be saved, I'm not sure that would be the right choice. The other choice is a table, but then again, if it isn't used, it's just taking up resources.
Any other ideas?