title: Issue with IEnumerable<TEntity>
body: <p>I want to write a common method which returns any model like product, sales,etc. Something like this (.net 3.5; I'm <strong>not</strong> using entity framework)</p>
  
  <pre><code>public class ProductRepository&lt;TEntity&gt; : IProduct&lt;TEntity&gt; 
      where TEntity : class
  {       
      public IEnumerable&lt;TEntity&gt; GetProductList(string Type)
      {
          IEnumerable&lt;Product&gt; fLit = from p in ProductList
                                      select p;
  
          return fLit;
      }
  }
  </code></pre>
  
  <p>But I'm getting the following error</p>
  
  <blockquote>
    <p>Cannot implicitly convert type <code>System.Collections.Generic.IEnumerable&lt;Product&gt;</code>' to
    <code>System.Collections.Generic.IEnumerable&lt;TEntity&gt;</code>. An explicit conversion exists (are you missing a cast?)</p>
  </blockquote>
  
  <p>Any help appreciated. Thanks in advance.</p>