At the moment I'm having to create a variable each time (see below) to access these specific keys. Is this the best way to call the keys within the config file each time you want to use them or is there an easier way to access them ?
C#:
int pMaxLength = int.Parse(ConfigurationManager.AppSettings["pMaxLength"]);
int pMinLength = int.Parse(ConfigurationManager.AppSettings["PMinLength"]);
Last edited: