title: Custom constructors for classes
body: <p>I saw this code:</p>
  
  <pre><code>this.CreateGraphics().DrawRectangle( Pens.Black, new Rectangle( 0, 0, 200, 100 ) );
  </code></pre>
  
  <p><code>CreateGraphics()</code> is a method, but it acts like a class with static voids. How can I create this in my code? I don't know how this technique can be called...</p>