Tell me more ×  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 the elements themselves could contain those
characters.  I was thinking of storing the array as JSON then
deserializing it using the JavaScriptSerializer.  Is there a
"right" / better way to do this?  (My JSON idea feels kinda
hacky)  share|improve this question I recommend the Newtonsoft
JSON stuff, if you go that route... –  user166390 May 2 '12 at
18:13 add comment  2 Answers  up vote 8 down vote accepted  You
could use the AppSettings with a
System.Collections.Specialized.StringCollection.  var
myStringCollection = Properties.Settings.Default.MyCollection;
foreach (String value in myCollection)     // do something  Each
value is separated by a new line.  Here's a screenshot (german
IDE but it might be helpful anyway)  enter image description
here  share|improve this answer add comment  You may also
consider using custom configuration section/Collection for th