title: Do you prefer to return the modified object or not?
body: <pre><code>Class c = new Class( { Prop = "Initial" } );
  </code></pre>
  
  <p>I have the class above. How would you create a method to modify it?</p>
  
  <pre><code>public Class ModifyIt(Class c)
  {
      c.Prop = "changed";
      return c;
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>public void ModifyIt(Class c)
  {
      c.Prop = "changed";
  }
  </code></pre>
  
  <p>Then called like this...</p>
  
  <pre><code>Class c = ModifyIt(c);
  Console.WriteLine(c.Prop);
  // changed
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>ModifyIt(c)
  Console.WriteLine(c.Prop);
  // changed
  </code></pre>
  
  <p>Whats your preference?</p>