# MaxCapacity

> The maximum number of elements this type of container can hold.

## Definition

* **Type:** Field
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public const int MaxCapacity = 2147483647
```
