title: How do you implement a private setter when using an interface?
body: <p>I've created an interface with some properties.</p>
  
  <p>If the interface didn't exist all properties of the class object would be set to</p>
  
  <pre><code>{ get; private set; }
  </code></pre>
  
  <p>However, this isn't allowed when using an interface,so can this be achieved and if so how?</p>