title: MVC: How do i declare the name value using DropDownListFor
body: <p>I have the following dropdownlist in mvc</p>
  
  <pre><code> &lt;%= Html.DropDownListFor(c =&gt; c.Address.Id, new SelectList(Model.Addresses, "id", "Name", Model.Address.Id), "-- New Address --", new { @name = "[" + orderItemAddressCount + "].AddressId" })%&gt;
  </code></pre>
  
  <p>I'm trying to overwrite the name value on the dropdownlist. </p>
  
  <p>this is the markup i get</p>
  
  <pre><code> &lt;select id="Address_Id" name="Address.Id"&gt;&lt;option value=""&gt;-- New Address --&lt;/option&gt;
  </code></pre>
  
  <p>This is the markup i want</p>
  
  <pre><code> &lt;select id="Address_Id" name="[0].AddressId"&gt;&lt;option value=""&gt;-- New Address --&lt;/option&gt;
  </code></pre>
  
  <p>How do i declare the name value using DropDownListFor?</p>