Personally, I would not hardcode the strings.
I would put them in appSettings.
Why? Well, if you need to change these values, you will need to recompile your code. Entering them into the application, you can simply change your configuration file.
You can still provide the accessory through your class.
public string DatabaseSDF { get { return System.Configuration.ConfigurationManager.AppSettings["DatabaseSDF"]; } }
The best of both worlds, imo.
source share