By jamesling
via digcode.com
Published: Jul 19 2008 / 17:17
When creating a C# application, you may want to access the application configuration file (app.config) programmatically. In order to avoid using hard code, you can use the property: AppDomain.CurrentDomain.SetupInformation.ConfigurationFile to return the file path of the configuration file.
Add your comment