# Aggregation

A loose "has-a" relationship where the parts can exist without the whole.

## 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
}
```

Level: Journeyman · [More OOP terms at this level](https://www.ask-codey.com/glossary/subjects/oop/journeyman)

Updated: September 27, 2026

## In other subjects

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

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