<p>How can I setup a default value to a property defined as follow:</p>

<pre><code>public int MyProperty { get; set; }
</code></pre>

<p>That is using "prop" [tab][tab] in VS2008 (code snippet).</p>

<p>Is it possible without falling back in the "old way"?:</p>

<pre><code>private int myProperty = 0; // default value
public int MyProperty
{
    get { return myProperty; }
    set { myProperty = value; }
}
</code></pre>

<p>Thanks for your time.
Best regards.</p>

Just set the "default" value within your constructor.
```
```
public class Person
{
   public Person()
   {
       this.FirstName = string.Empty;
   }

   public string FirstName { get; set; }
}
```
```
Also, they're called Automatic Properties.