title: Selecting x number of elements from a System.Collections.Generic.List c#
body: <p>What i need is a way to select the <strong>last 100 elements</strong> from a list, as list</p>
  
  <pre><code>    public List&lt;Model.PIP&gt; GetPIPList()
      {
          if (Repository.PIPRepository.PIPList == null)
              Repository.PIPRepository.Load();
          return Repository.PIPRepository.PIPList.Take(100);
  
      }
  </code></pre>
  
  <p>I get error like this</p>
  
  <p>'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List'. An explicit conversion exists (are you missing a cast?)</p>