title: Program seems to ignore rest of the list
body: <p>I am trying to make retrieve a certain string from a list of object in c#( let's call that list userlist)(the list has about 1600 elements in it and each object has about 15 different parameters).
  So this is the code that I have:</p>
  
  <pre><code> private List&lt;String&gt; getGameList(CommandEventArgs e) {
          List&lt;String&gt; allgames = new List&lt;string&gt;();
          List&lt;User&gt; userlist = e.Server.Users.ToList();
          foreach (User u in userlist)
          {
              if (u.CurrentGame.ToString() != "")
              {
                  if (u.CurrentGame.Value.Name != null)
                  {
                      allgames.Insert(0, u.CurrentGame.Value.Name);
  
  
                  }
  
              }
  
          }
  
          return allgames;
  
  
      }
  </code></pre>
  
  <p>But it everytime that this bit of code runs the list that gets returned has only one or two results in it while it should retrieve a lot more.</p>
  
  <p>To give more information about the code:</p>
  
  <ul>
  <li>User is the object with about 15 parameters/objects under it</li>
  <li>u.CurrentGame retrieves an object called "Game" that is under a "User"</li>
  <li>u.CurrentGame.Value.Name is the string that I want to retrieve and add in the new "allgames" list</li>
  <li>I know the Insert(0,String) is strange but for some reason a simple .Add didn't seem to work properly either</li>
  </ul>
  
  <p>Any idea why I only have 1 or 2 results and not more while it should?
  I can definitly provide more information if needed.</p>
  
  <p>Thank you</p>