title: How to initialize IDictionary in constructor?
body: <p>In TagBuilder and other classes I can write something like:</p>
  
  <pre><code>var tr = new TagBuilder("HeaderStyle"){InnerHtml = html, [IDictionary Attributes]}
  </code></pre>
  
  <p>but I don't know how to pass the IDictionary parameter.</p>
  
  <p>How can I do that <em>on the fly</em>? Without creating a Dictionary variable.</p>
  
  <p>TagBuilder is an example, there are other classes that accept a parameter <code>IDictionary</code>as well. The question is about the generic case.</p>