title: C# App.Config with array or list like data
body: <p>How to have array or list like information in app.config? I want user to be able to put as many IPs as possible (or as needed). My program would just take whatever specified in app.config. How to do this?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
    &lt;appSettings&gt;
      &lt;add key="ip" value="x" /&gt;
      &lt;add key="ip" value="y" /&gt;
      &lt;add key="ip" value="z" /&gt;
      &lt;/appSettings&gt;
  &lt;/configuration&gt;
  
  
  
  public string ip = ConfigurationManager.AppSettings["ip"];
  </code></pre>