I\'ve got a method that reads settings from my config file like this:
var value = ConfigurationManager.AppSettings[key];
It compiles fine
Once you have the packages setup, you'll need to create either an app.config or web.config and add something like the following: