title: How to get values out of object HtmlAttributes
body: <p>In asp.net mvc I always see the built in html helpers they always have object htmlAttirbutes.</p>
  
  <p>Then I usually do new {@id = "test", @class="myClass"}.</p>
  
  <p>How do I extract a parameter like this in my own html helpers?</p>
  
  <p>Like I am using "HtmlTextWriterTag" is their  a way I can pass this whole object to the writer and it figured it out or what?</p>
  
  <p>Also how does this work with big html helpers?</p>
  
  <p>Like I am making a html helper and it uses all these tags.</p>
  
  <pre><code>Table
  thead
  tfooter
  tbody
  tr
  td
  a
  img
  </code></pre>
  
  <p>Does that mean I have to make a html Attribute for each of these tags?</p>