# Class FixedSizedQueue OptimaJet.Workflow.Core.Utils.FixedSizedQueue Namespace: [OptimaJet.Workflow.Core.Utils](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Utils/) ```csharp public class FixedSizedQueue : ConcurrentQueue, IProducerConsumerCollection, ICollection, IReadOnlyCollection, IEnumerable, IEnumerable ``` ## Type Hierarchy - [ConcurrentQueue](https://learn.microsoft.com/dotnet/api/system.collections.concurrent.concurrentqueue-1) - FixedSizedQueue Current type - Implemented interfaces - [ICollection](https://learn.microsoft.com/dotnet/api/system.collections.icollection) - [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable) - [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) - [IProducerConsumerCollection](https://learn.microsoft.com/dotnet/api/system.collections.concurrent.iproducerconsumercollection-1) - [IReadOnlyCollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1) ## Constructors `public FixedSizedQueue(int size)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `size` | `Int32` | | ## Properties `public int Size { get; }` ## Methods `public void Enqueue(T obj)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `obj` | `{T}` | | [Previous DisposableStopwatchArgs](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Utils/DisposableStopwatchArgs/) [Next Localizer](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Utils/Localizer/)