# MaxCapacity

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

## Definition

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

```csharp
public const int MaxCapacity = 536870912
```
