title: Assign class to Html.BeginForm
body: <p>I am using Html.BeginForm but when trying to assign to it a class there is a problem. If i use class  for the fourth place is fine. But if i try to use enctype in addition, there is a error.
  This is fine:</p>
  
  <pre><code>@using (Html.BeginForm("Edit", "Inventory", FormMethod.Post, new {enctype = "multipart/form-data"}))
  </code></pre>
  
  <p>But this is not:</p>
  
  <pre><code>@using (Html.BeginForm("Edit", "Inventory", FormMethod.Post, new {enctype = "multipart/form-data"}, new { @class = "listForm" } ))
  </code></pre>
  
  <p>And this is not:</p>
  
  <pre><code>@using (Html.BeginForm("Edit", "Inventory", FormMethod.Post, new { @class = "listForm" },  new {enctype = "multipart/form-data"}))
  </code></pre>
  
  <p>Any ideas please. Thank you</p>