Problems with .NET Applications / Users

Can someone explain the explanations of the applications and user settings and their differences to me? I have a C # application that only one person will use. There are preferences that the user can set in the program, and I implemented these settings with the user range settings. I was impressed by the custom reach settings that could be read and written at runtime as they are. But they are not saved . After closing the application and reopening, poof, all user settings are performed.

Application parameters seem to be better suited for what I am doing, except that they cannot be processed at runtime.

So...

Question # 1: Is it assumed that user coverage settings are saved?

Question No. 2: The difference between the user and application area is that the application cannot be changed at runtime, but the user can?

Question No. 3: If I cannot use the settings or should not in this case, what alternative suggestions for saving the settings will be?

+3
source share
1 answer

There is good information here .

  • . , Save() - ! Settings.Default.Save().
  • , . , , , , .
  • N/A. ! . , , , , - , XML, SQL, SQL-CE ..
+2

Source: https://habr.com/ru/post/1781875/


All Articles