title: IQueryable & ref keyword (adding a where clause)
body: <pre><code>IQueryable&lt;SomeType&gt; cases;
  </code></pre>
  
  <p>If I want to add a where clause to the cases query, I have two options, but I don't know which one is better.</p>
  
  <p>It could be either:</p>
  
  <pre><code>cases = SomeFunction(cases);
  ...
  private IQueryable&lt;SomeType&gt; SomeFunction(IQueryable&lt;SomeType&gt; cases)
  {
    return cases.Where(whatever);
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>SomeFunction(ref cases)
  ...
  private void SomeFunction(ref IQueryable&lt;SomeType&gt; cases)
  {
  cases = cases.Where(whatever);
  }
  </code></pre>