# Deconstruction

Splitting a tuple or compatible object into separate variables.

## What is **Deconstruction** in C#?

**Deconstruction** — Splitting a tuple or compatible object into separate variables.

```csharp
class Location
{
    void ReadCoordinates()
    {
        (double latitude, double longitude) = (40.0, -105.0);
    }
}
```

Level: Freelancer · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/deconstruction
