title: C# Object Constructor - shorthand property syntax
body: <p>A few months ago I read about a technique so that if there parameters you passed in matched the local variables then you could use some short hand syntax to set them. To avoid this:</p>
  
  <pre><code>public string Method(p1, p2, p3)
  {
      this.p1 = p1;
      this.p2 = p2;
      this.p3 = p3;
  }
  </code></pre>
  
  <p>Any ideas?</p>