Home > Net >  Read the App. The config file is empty
Read the App. The config file is empty

Time:10-30

Turn to the great god, read app. Take less than the inside of the config key

With the
String [] con1=ConfigurationManager. AppSettings. AllKeys;

Take is null.
The debug directory exe. Also is to have content config.
For what reason is this?

CodePudding user response:

B: no problem,,,,

CodePudding user response:

You are such a file and icon?
In the new, there is option to create a configuration file, but generally the default as if there will be,

CodePudding user response:

String con1=ConfigurationManager. AppSettings. AllKeys (" g123 "); Like this?
  •  Tags:  
  • C#
  • Related