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( intcapacity)PropertiesCapacity#Gets the maximum capacity of this collection.public int Capacity { get; }Count#Gets the total number of elements currently in this collection.public int Count { get; }Indexersthis[]#public T this[ intindex] { get; }MethodsAdd#Add a new element in the most important slot in this collection.public void Add( Titem)MoveToFront#Move the item at the given index to the front of the list.public void MoveToFront( intindex)Remove#Remove the element at the given index.public void Remove( Titem)