title: how to bind checkbox dynamically in list type model mvc 5
body: <p>i have a class </p>
  
  <pre><code>public class CustomBenefitCommittee
      {
          public int PlanOptionId { get; set; }
          public bool IsChecked { get; set; }
          public string PlanOptionName { get; set; }
      }
  </code></pre>
  
  <p>and i have took this class as a list type of model in my razer view </p>
  
  <pre><code>@model List&lt;MIHR.Business.CustomClasses.CustomBenefitCommittee&gt;
  @{
      int Counter = 0;
  }
  
  &lt;table class="table table-bordered" id="tblPlanLst"&gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;
                       select
                  &lt;/th&gt;
                  &lt;th&gt;
                      Benefit Option
                  &lt;/th&gt;
  
              &lt;/tr&gt;
          &lt;/thead&gt;
  
          &lt;tbody&gt;
  
              @foreach (var Enrol in Model)
              {
                  &lt;tr&gt;
                      &lt;td&gt; &lt;input type="checkbox" name="customBenefitCommittee[@Counter].IsChecked"  class="clsCheck" /&gt;&lt;/td&gt;
                      &lt;td&gt;
                          @Enrol.PlanOptionName
                      &lt;/td&gt;
  
                  &lt;/tr&gt;
                          Counter++;
              }
  
          &lt;/tbody&gt;
      &lt;/table&gt;
  &lt;input type="submit" id="btnSubmitSave" value="Save" name="buttonType" class="btn btn  btn-primary"&gt;
  </code></pre>
  
  <p>now when i post this form to controller with checking the checkbox i get always false in this checkbox IsChecked  property.
  can anyone help me out with it.</p>