Arne: thank you for the reply. I am new to C# so sorry if this next question
is a bit basic. When I create an instance of Class A I would create a
List<class Bas part of the instantiation. As I create a number of instances
of class B in my application presumably I then have to Add them to the
List<class Bin the class A object?
"Arne Vajhøj" wrote:
Paolo wrote:
I have 3 classes - their associations are modelled in UML thus:
Class A: 1 --1..* Class B: 1 --1..* Class C
How would I implement this in C#?
Let A contain a List<Band B contain a List<C>.
And make the code enforce minimum of 1 element,
if that is really important.
Arne