title: what is the best collection type to return in an API
body: <p>i have always thought that returning Arrays were better than lists when having a public API but it seems now there are all these functions on lists that are available through LINQ, etc.</p>
  
  <p>Has the best practice changed here for returning collections of primitives or objects?</p>
  
  <p>for example:</p>
  
  <pre><code>Order[] GetOrders();
  List&lt;Order&gt; GetOrders();
  IEnumerable&lt;Order&gt; GetOrders();
  IQueryable&lt;Order&gt; Get Orders();
  </code></pre>