In my WPF applciation I would like to use global variable, the purpose is like to store the current user information etc, The problem is that, there are two methods for it and they are:
Application.Current.Properties vs My.Settings
I know that using My.Settings, the changes will be stored and when the app restarts or reopened, they would load the last saved ones, I dont want it this way. Could you please clarify is Application.Current.Property solve my problem or is there any other method for this.
Thank you.
Why not just create a static or singleton class to hold all your values, if your going to reload them every time the program is going to run anyway?