SyntaxFix
Write A Post
Hire A Developer
Questions
You can simply type:
string filePath = Sysem.Configuration.ConfigurationManager.AppSettings[key.ToString()];
because key is an object and AppSettings takes a string
key
AppSettings