Currently i have a list of states that determine whether a link is visible or not on my site. I am trying to find a way to move this list into my web.config file so as the list of states grows i do not have to republish in order to make a change.
string[] statesneeded = new string[] {"AZ","GA","IA", "TN", "SC", "KS", "MI" ,"NC", "UT"};
How would i reference this list in my web config and then call it in C#? Any help is appreciated. Thank you.