I\'d like to store a one dimensional string array as an entry in my appSettings. I can\'t simply separate elements with , or | because
appSettings
,
|
For strings it is easy, simply add the following to your web.config file:
web.config
and then you can retrieve the value into an array as follows:
var myArray = ConfigurationManager.AppSettings["myStringArray"].Split(',');