title: Assigning attributes to a control upon creation?
body: <p>Just wondering if it was possible to not split the following steps...</p>
  
  <pre><code>Button b = new Button()
  {
      // You can access Attributes here, but only get, not set.
      ID = "btnExample",
      Text = "Click Me"
  };
  
  b.Attributes.Add("onclick", "alert('hello, world')");
  </code></pre>
  
  <p>Thanks in advance.</p>