A
Andrew
I need to have a series of collection classes that inherit (I think) from
each other. What is the best way to do this in .NET? In VB6 I had a series
of collection classes each passing a reference to the parent object down the
tree.
For example:
Customer(s) -> Email(s) -> Attachment(s)
Or maybe:
Directory -> Directory -> Directory -> Files etc
Do I still simply pass teh reference to the parent down the tree?
I also need the child classes to get information form the parent.
You also can't put:
Public Class cAttachments
Inherits System.Collections.CollectionBase
Inherits cEmail
...
each other. What is the best way to do this in .NET? In VB6 I had a series
of collection classes each passing a reference to the parent object down the
tree.
For example:
Customer(s) -> Email(s) -> Attachment(s)
Or maybe:
Directory -> Directory -> Directory -> Files etc
Do I still simply pass teh reference to the parent down the tree?
I also need the child classes to get information form the parent.
You also can't put:
Public Class cAttachments
Inherits System.Collections.CollectionBase
Inherits cEmail
...