title: How to make this code choose the next item in the array when the last one was already used?
body: <p>How to make this code choose the next item in the array when the last one was already used?<br>
  With the links it does fine (it seems). It only adds the first filename correctly, others have filename as "System.String[]"</p>
  
  <pre><code>    using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      using System.Net;
      using System.IO;
      using System.Diagnostics;
      using System.ComponentModel;
  
      namespace J98_MP_CS
      {
          class Download
          {
              private static Queue&lt;string&gt; _items = new Queue&lt;string&gt;();
              static string dl_loc = "C:\\ProgramData\\jyrka98\\";        
              public static void Start()
              {
                  string[] file_link_array = { 
                                                 "LINK1" 
                                                 "LINK2"
                                             };       
                  foreach (string i in file_link_array) { _items.Enqueue(i); }
                  DownloadItem();
              }      
              private static void DownloadItem()
              {
                  string[] file_name_array = { 
                                                    "xvm_main_files.zip",
                                                    "jyrka98_xvm.zip",
                                                    "premium_hangar.zip",
                                                    "J1mB0_crosshair.zip",
                                                    "J1mB0_contour_icons_v1.zip",
                                                    "J1mB0_contour_icons_v2.zip",
                                                    "multiline_tank_carousel.zip",
                                                    "white_dead_tanks.zip"
                                                };
                  if (_items.Any())
                  {
                      var nextItem = _items.Dequeue();
  
                      WebClient WC = new WebClient();
                      WC.Headers.Add("user-agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0");
                      WC.DownloadFileCompleted += new AsyncCompletedEventHandler(WC_DownloadFileCompleted);
                      WC.DownloadFileAsync(new Uri(nextItem), Path.Combine(dl_loc + file_name_array));
                      return;
                  }
              }
  
              private static void WC_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
              {
                  DownloadItem();   
              }
          }
      }
  </code></pre>
  
  <p>*note: i put only two link in here instead of 8 to make code shorter.</p>