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 Players, but players still exist if the team breaks up.
public class Team
{
public List<Player> Players { get; } = new(); // players are created elsewhere and added
}
Level: Journeyman · More OOP terms at this level
Updated