title: Binding a variable amount of inputs
body: <p>I would like to post a form with a variable number of check-boxes, so in Model-biding i would receive an array or <code>IEnumerable</code> with each <code>checkbox</code> name and it's value.  </p>
  
  <p><strong>What I pretend:</strong>  </p>
  
  <pre><code>public class ItemsChecked{  
      public IEnumerable&lt;string&gt; Names{get; set;}  
      public IEnumerable&lt;bool&gt; Checked{get; set;}  
      //maybe organized in some other way
  }
  
  //In view  
  @model IEnumerable&lt;Tuple&lt;string,bool&gt;&gt;
  
  @foreach(var role in Model)
  {  
  &lt;input name="@role.Item1" type="checkbox" checked="@role.Item2"/&gt;
  }
  </code></pre>
  
  <p>Is there any way to bind this to the ItemsChecked?</p>