title: Why Automatically implemented properties must define both get and set accessors
body: <p>When we define a property like</p>
  
  <pre><code>    public string Name {get; set;}
  </code></pre>
  
  <p>dot net can make our properties code. but when we use</p>
  
  <pre><code>    public string Name {get;}
      public string Name {set;}
  </code></pre>
  
  <p>we face with </p>
  
  <pre><code>'Hajloo.SomeThing.PropertyName.set' must declare a body because it is not marked abstract or extern. Automatically implemented properties must define both get and set accessors.
  </code></pre>
  
  <p>Actually why the compiler can't determine the property and make code automatically? What's the problem?</p>