How to set default value for Auto-Implemented Properties in ASP.NET
<p>I came to know that C# 3.0 comes with a new feature of Auto-Implemented Properties,I liked it as we don't have to declare extra private varible in this (compare to earlier property),  earlier I was using a Property i.e. </p>

<pre><code>private bool isPopup = true;
public bool IsPopup
{
    get
    {
      return isPopup;
    }
    set
    {
      isPopup = value;
    }
}
</code></pre>

<p>Now I've converted it into Auto-Implemented property i.e.</p>

<pre><code>public bool IsPopup
{
    get; set;
}
</code></pre>

<p>I want to set the default value of this property to true without using it not even in page_init method, I tried but not succeeded, Can anyone explain how to do this?</p>
