Home > Net >  For an idea
For an idea

Time:11-08

Doing a game Settings menu, the user after the set up, need a string variable to store the value of the set and the menu can be reset, the new value set the old value still exist,

Now think of the new list Every time, open the menu to Add a new stringbuilder () to store the new value, but didn't give a new object name not won't be able to access? A train of thought,

CodePudding user response:

List is a collection of similar array, you can use the List [0] this index to access, in addition, your Settings do not need to be considered persistent (file, database, etc.) to save?

CodePudding user response:

  •  Tags:  
  • C#
  • Related