title: How to remove last 10 elements from the list using C#?
body: <p>How to remove last 10 elements from the list using C#?</p>
  
  <pre><code>private List&lt;FeedTextDto&gt; _feedsItemGlobal;
  
  public class FeedTextDto
      {
          public FeedTextDto()
          {
              Content = new List&lt;ContentDto&gt;();
          }
  
          public int Id { get; set; }
          public string Title { get; set; }
          public string Text { get; set; }
          public TextType TextType { get; set; }
          public bool IsActive { get; set; }
  
          public DateTime CreatedOn { get; set; }
          public string CreatedBy { get; set; }
  
          public List&lt;ContentDto&gt; Content { get; set; }
      }
  </code></pre>