title: Automatic Property Values and Defaults
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/40730/how-do-you-give-a-c-sharp-auto-property-a-default-value">How do you give a C# Auto-Property a default value?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a property in a class like so</p>
  
  <pre><code>public String fontWeight { get; set; }
  </code></pre>
  
  <p>I want it's default to be of <code>"Normal"</code></p>
  
  <p>Is there a way to do this in "automatic" style rather than the following</p>
  
  <pre><code>public String fontWeight {
      get { return fontWeight; } 
      set { if (value!=null) { fontWeight = value; } else { fontWeight = "Normal"; } }
  }
  </code></pre>