I have a C# application which allows user to create multiple profiles. For each profile he can create user settings. So the user can set different values for a given user setting for different profiles.
Example:
Let us say the user has Created 2 profiles : ProfileA and ProfileB.
For ProfileA he can set a value for DB connection string.
For ProfileB he can set a different value for DB connection string.
The user should be able to restore the settings after he closes and opens the application again. I am wondering what is the best way to store these settings in the .settings file. Please note that the user will be able to create profiles at runtime.
Is it possible to have sections for .settings file for a C# application similar to .ini file