Book a Demo

Author Topic: How C# Arraylist  shown as association  (Read 2477 times)

Moyeen

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
How C# Arraylist  shown as association
« on: March 07, 2009, 10:49:04 pm »
 There is one C# class "Sale" which  have C# arraylist of another C# class "SaleItem ". I have declared the arraylist in the Sale class for storing the SaleItem objects .

The class diagram showing as attribute in the Sale class as  objsaleItemlist:ArrayList.

How i can show as association in the diagram. Because class diagram is able to depict the relationship, otherwise i have to see manually the relationship across the project.

Moyeen

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
How  C# Arraylist  shown betweeb two classes
« Reply #1 on: March 09, 2009, 08:19:40 pm »
There is one C# class "Sale" which  have C# arraylist of another C# class "SaleItem ". I have declared the arraylist in the Sale class for storing the SaleItem objects .

The class diagram showing as attribute in the Sale class as  objsaleItemlist:ArrayList.

How i can show as association in the diagram. Because class diagram is able to depict the relationship, otherwise i have to see manually the relationship across the project.