title: How to set the value of a read-only property with generic getters and setters?
body: <p>Not sure if I worded this correctly ... but I have the following code:</p>
  
  <pre><code>    public Guid ItemId
      {
          get;
      }
  
      public TransactionItem()
      {
          this.ItemId = Guid.Empty;
      }
  </code></pre>
  
  <p>Naturally I am getting a read-only issue ... which I do understand.  Is there anyway to set this property value without having to do something like the below:</p>
  
  <pre><code>    Guid _itemId = Guid.Empty;
      public Guid ItemId
      {
          get
          {
              return _itemId;
          }
          set
          {
              _itemId = value;
          }
      }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>    public Guid ItemId
      {
          get;
          internal set;
      }
  </code></pre>
  
  <p>Thanks in advance!</p>