C Sharp Aggregation
C# Aggregation (HAS-A Relationship) The process of defining a class as an entity reference by another class is called aggregation in C#. Thus it can be used to reuse a class. It represents a HAS-A relationship as a form of association. Example: using System; public class Details { public int age; public string city; public … Read more