What is App.config in C#.NET? How to use it?

I have done a project in C#.NET where my database file is an Excel workbook. Since the location of the connection string is hard coded in my coding, there is no problem for installing it in my system, but for other systems there is.

Is there a way to prompt the user to set a path once after the setup of the application is completed?

The answers I got was “Use App.Config”… can anyone tell what is this App.config and how to use it in my context here?

6 Answers
6

Leave a Comment