# this[]

> Gets values by key.

## Definition

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

## this\[T]

```csharp
public readonly TValue this[TKey key] { get; }
```

### Parameters

**** (T): The key to look up.

### Returns

| Type | Description |
| ---- | ----------- |
| T    |             |

### Remarks

Getting a key that is not present will throw.
