Click here to Skip to main content
15,905,508 members
Articles / Programming Languages / C#

Specify a Configuration File at Runtime for a C# Console Application

Rate me:
Please Sign up or sign in to vote.
4.06/5 (9 votes)
14 Jun 2006CPOL1 min read 176K   49  
Using an app.config file with a console application is a great way to manage settings for a console app. However there is no method to specify a config file at runtime. Here is one way to do it.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
Software Design Engineer working at Bluetooth Special Interest Group.

Comments and Discussions