Link Details

Link 96316 thumbnail
User 290279 avatar

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.
  • 8
  • 0
  • 1506
  • 416

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)