title: C# property get private set
body: <p>How can I know which one of the following I need to use:</p>
  
  <pre><code>public int Dollar { get; set };
  public int Dollar { get; private set };
  private int Dollar { get; set };
  private int Dollar { get; private set };
  </code></pre>
  
  <p>When I'm programming I am always asking myself which one I should use. Anyone that can explain me how I can know which one I need to use?</p>