title: Return empty array instead of null
body: <p>I created <code>Settings</code> class which I use to edit my application by <code>.ini</code> file. My <code>Settings.ini</code> file looks like this:</p>
  
  <pre><code>[ACCOUNT]
  login=xyz
  password=xyz
  locations=1,2,5,8
  </code></pre>
  
  <p>Now I am getting theese values like this:</p>
  
  <pre><code>class Settings {
      public static IniFile Config = new IniFile(Directory.GetCurrentDirectory() + @"\Settings.ini");
      public static string Login { get { return Config.Read("login", "ACCOUNT"); } set { Config.Write("login", "ACCOUNT"); } }
      public static string Password { get { return Config.Read("password", "ACCOUNT"); } set { Config.Write("password", "ACCOUNT"); } }
      public static int[] Locations { get { return Array.ConvertAll(Config.Read("locations", "ACCOUNT").Split(','), s =&gt; int.Parse(s)); } set { Config.Write("locations", "ACCOUNT"); } }
  }
  </code></pre>
  
  <p>The problem is, when my <code>Settings.ini</code> file has empty locations:</p>
  
  <pre><code>locations=
  </code></pre>
  
  <p>My variable <code>Settings.Locations</code> return <code>null</code> instead of empty array. I've tried doing something like this:</p>
  
  <pre><code>public static int[] Locations 
  { 
      get { return new int[] {Array.ConvertAll(Config.Read("locations", "ACCOUNT").Split(','), s =&gt; int.Parse(s))}; } 
      set { Config.Write("locations", "ACCOUNT"); } 
  }
  </code></pre>
  
  <p>But that is just not working. I cant convert int[] to int. Do you have any ideas how can I return empty array?</p>