I am studying some C# code and I wonder where is the file that is read using this lines:
System.Configuration.AppSettingsReader settingsReader = new AppSettingsReader();
string key = (string)settingsReader.GetValue("MyProperty", typeof(String));
I want to get the MyProperty value without running the code.
I am using VS2015.
Thank you
You can find it in the
App.configfile in your solution.After you compile the code, it will be next to your exe file with the name of your exe (e.g
MyExeName.exe.config)