title: Passing properties by reference in C#
body: <p>I'm trying to do do the following:</p>
  
  <pre><code>GetString(
      inputString,
      ref Client.WorkPhone)
  
  private void GetString(string inValue, ref string outValue)
  {
      if (!string.IsNullOrEmpty(inValue))
      {
          outValue = inValue;
      }
  }
  </code></pre>
  
  <p>This is giving me a compile error. I think its pretty clear what I'm trying to achieve. Basically I want <code>GetString</code> to copy the contents of an input string to the <code>WorkPhone</code> property of <code>Client</code>.</p>
  
  <p>Is it possible to pass a property by reference?</p>