Implementing association class

  • Thread starter Frederik Vanderhaegen
  • Start date
F

Frederik Vanderhaegen

Hi,

I'm a newbie in c# and have a simple question.
How does you have to implement an association class (uml) in c#?

Thanks in advance

Frederik
 
J

Joanna Carter [TeamB]

"Frederik Vanderhaegen" <[email protected]> a écrit dans le
message de [email protected]...

| I'm a newbie in c# and have a simple question.
| How does you have to implement an association class (uml) in c#?

Very simple example :

public class Member: System.Object
{
}

public class Meeting: System.Object
{
}

public class Attendance // association class
{
private Meeting meeting;
private Member member;
...
}

Joanna
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top