# Aggregation

*noun*

say it: **“ag-rih-GAY-shun”** **/ˌæɡrɪˈɡeɪʃən/**

A has-a link where the whole holds parts that can live on without it, drawn with a hollow diamond at the whole's end.

## What is **Aggregation**?

**Aggregation** is a looser "has-a" relationship where the parts can exist on their own. A `Team` has `Player`s, but players still exist if the team breaks up.

```csharp
public class Team
{
    public List<Player> Players { get; } = new(); // players are created elsewhere and added
}
```

## In a sentence

- “The rental and its bikes were an **aggregation**: the bikes were back on the rack when it ended.”

Level: Journeyman · [More OOP terms at this level](https://www.ask-codey.com/glossary?category=oop&level=3)

Updated: November 9, 2026

## In other subjects

- [Aggregation in Java](https://www.ask-codey.com/glossary/aggregation)

Source: https://www.ask-codey.com/glossary/aggregation-oop
