0

I read many times about Association, Composition and Aggregation. What will the simple code in c# of these three terms? I have understood about the difference of Composition and Aggregation, but in Association, its look like just Composition in my view. I am just beginner of c#, sorry if i wrote here something wrong about these terms.

nawfal
  • 70,104
  • 56
  • 326
  • 368
Allan
  • 21
  • 2
  • 1
    simple saying `I read many times about ... Please explain ...` is usually not enough. Quoting internet without providing quote source will not lead to informative answers. Of course some terms do not need further explanation but out of those three some may be treated differently by different people. – Snowbear Jun 07 '11 at 18:07
  • possible duplicate of [C# code for association, aggregation, composition](http://stackoverflow.com/questions/12604031/c-sharp-code-for-association-aggregation-composition) – nawfal Oct 03 '13 at 18:39
  • 2
    Possible duplicate of [Difference between association, aggregation and composition](http://stackoverflow.com/questions/885937/difference-between-association-aggregation-and-composition) – Jason C Aug 28 '16 at 17:14

1 Answers1

1

I think this is a reasonable question. In fact, it's been asked and answered rather well, including code examples, in this StackOverflow thread: Difference between association, aggregation and composition

Good luck!

Community
  • 1
  • 1
Michael Ames
  • 2,607
  • 1
  • 16
  • 22
  • Thanks Micheal, but i want C# examples of these three terms, i think your link has c++ examples. – Allan Jun 07 '11 at 23:31