title: Reducing .Net code using Inline Object creation
body: <p>I have managed to crunch down a several line code to this</p>
  
  <pre><code>For Each gal In galleries
     With New HtmlGenericControl("div")
                  .ID = gal.Header
                  .Controls.Add(New HtmlImage() With {.Src = "http://p.com/pic.jpg"})
  
                  galleryContent.Controls.Add(**Me**)
     End With
  Next
  </code></pre>
  
  <p>I cannot find any where how to reference back to the object i am currently working <strong>with</strong> to add the control back to 'galleryContent'  - Using plain <code>me</code> crashes the whole web server... whooops.</p>
  
  <p>Using does not offer the shorter hand of just using <code>.</code>  - But it Using the only way to do it?  I was sersiosly expecting some kind of <code>.Me</code>  or something like <code>this</code></p>
  
  <p>Any ideas?</p>