In the .Net BCL is there a collection data structure similar to list that has a maximum capacity, say configured to 100 items, which when item 101 is added the original firs
public class FixedSizeList : Collection
{
public int MaxItems {get;set;}
protected override void InsertItem(int index, T item){
base.InsertItem(index, item);
while (base.Count > MaxItems) {
base.RemoveItem(0);
}
}
}