title: How do I override List<T>'s Add method in C#?
body: <p>I am currently looking to make my own collection, which would be just like a regular list, except that it would only hold 10 items. If an item was added when there were already 10 items in the list, then the first item would be removed before the new item was appended.</p>
  
  <p>What I want to do is create a class that extends <code>System.Collections.Generic.List&lt;T&gt;</code>, and then modifies the <code>Add(T item)</code> method to include the functionality which removes the first item if necessary.</p>