How to add App.Config file in Console Application

Nits picture Nits · Aug 30, 2010 · Viewed 65.9k times · Source

I want to store the connection string and some parameters in app.config file which we generaly do for windows aplication but I can't find app.config file for console application. So how should I use this file, how to add this file or there is some other work arroud for the same functionality. I am working in console application

Answer

PrateekSaluja picture PrateekSaluja · Aug 30, 2010

Right click on application->Go to Add->you will see the exact picture What i have attached here->Pick the Application Config File.alt text