title: MVC3 Non-Sequential Indices and DefaultModelBinder
body: <p>Is it true that the default model binder in MVC 3.0 is capable of handling non-sequential indices (for both simple and complex model types)? I've come across posts that suggest it should, however in my tests it appears that it does NOT.</p>
  
  <p>Given post back values:</p>
  
  <pre><code>items[0].Id = 10
  items[0].Name = "Some Item"
  items[1].Id = 3
  items[1].Name = "Some Item"
  items[4].Id = 6
  items[4].Name = "Some Item"
  </code></pre>
  
  <p>And a controller method:</p>
  
  <pre><code>public ActionResult(IList&lt;MyItem&gt; items) { ... }
  </code></pre>
  
  <p>The only values that are loaded are items 0 and 1; item 4 is simply ignored. </p>
  
  <p>I've seen numerous solutions to generate custom indices (<a href="http://haacked.com/archive/2008/10/23/model-binding-to-a-list.aspx">Model Binding to a List</a>), however they all appear to targeting previous versions of MVC, and most are a bit 'heavy-handed' IMO.</p>
  
  <p>Am I missing something?</p>