# Connection

> A pair of from and to indices describing what thing keeps what other thing alive.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.MemoryProfiler](/engine/6000.6/script-reference/unityeditor/memoryprofiler.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public struct Connection
```

## Remarks

The indicies index into a virtual list of all GC handles, followed by all native objects.
