Hello, the problem is this. Create an XML file App.config in the application folder as follows
<?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="1" value="2" /> </appSettings> </configuration> Then in the program I want to see the number of pairs (key / value):
Console.WriteLine(ConfigurationManager.AppSettings.Count) Displays 0 for some reason, but not 1. Tried to create more pairs, all the same 0 is issued. Thank you in advance.