title: Is there a version of null but for list?
body: <p>I have a unit test that I am trying to write.</p>
  
  <p>I have this section as part of a working version:</p>
  
  <pre><code>List&lt;MyClass&gt; queryResult = new List&lt;MyClass&gt;(){};
  
  A.CallTo(() =&gt; _dataContext.GetAll&lt;MyClass&gt;()).Returns(queryResult.AsQueryable());
  </code></pre>
  
  <p>However, I would rather put something like "null" instead of "queryResult.AsQueryable()", Then there would be no need to create an empty list.</p>
  
  <p>But GetAll will return a list empty or full by the looks of things. Therefore, null won't work. </p>
  
  <p>Is there something like "List.Empty" that I can use instead?</p>
  
  <p>Thanks </p>