title: Passing multi parameters from view to controller using array
body: <p>I would like to post between 55 and 100 items which could be false or true from view to my controller without using Model. This is my code in Razor View:</p>
  
  <pre><code>@using(Html.BeginForm( "User","User",FormMethod.Post,new{enctype="multipart/form-data"}))
  {
  
      &lt;input type="checkbox" name="U1"&gt;Choice one&lt;/input&gt;
      &lt;input type="checkbox" name="U2"&gt;Choice two&lt;/input&gt;
      &lt;input type="checkbox" name="U3"&gt;Choice three&lt;/input&gt;
      &lt;input type="checkbox" name="U4"&gt;Choice four&lt;/input&gt;
  
  ....
  
  &lt;input type="checkbox" name="U55"&gt;Choice fifty five&lt;/input&gt;
  
  &lt;button type="submit"&gt;Send&lt;/button&gt;
                                 }
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>[HttpPost]
  public async Task&lt;ActionResult&gt; User(Array....)
  {
  return view();}
  </code></pre>
  
  <p>How can I send all of parameters (checkboxes) using an array to my controller. I appriciate all your solutions.</p>