BoundedList<T> public sealed class BoundedList<T> Show allA list with a capped capacity which throws away the oldest element when newly added elements would cause a capacity overrun. This collection is threadsafe. Type parameters:T AllConstructorsPropertiesIndexersMethods ObsoleteInherited ConstructorsBoundedList#public BoundedList(int capacity)Parameters:capacity (int)PropertiesCapacity#public int Capacity { get; }Gets the maximum capacity of this collection.Count#public int Count { get; }Gets the total number of elements currently in this collection.Indexersthis[]#public T this[int index] { get; }Parameters:index (int)MethodsAdd#public void Add(T item)Add a new element in the most important slot in this collection.Parameters:item (T)MoveToFront#public void MoveToFront(int index)Move the item at the given index to the front of the list.Parameters:index (int)Remove#public void Remove(T item)Remove the element at the given index.Parameters:item (T)