Can we have multiple App.Config files in .NET console application?
问题 I have a console application that has App.Confile file. Now the parameters that are environment specific are maintained here. Now I am thinking to have multiple app.config files (like app.dev.config, app.test.config and app.prod.config ) the way how we can have multiple Web.Config files. In case of Web application, we can handle this and ConfigurationManager would pick respective Web.Config file. In case of Console application, I am not sure. If Yes, how can we have multiple app.config files?