references between objects
Hello everybody,
i'm new to c# and have to deal with the following problem:
i want to create objects containg data that comes from a sql-database.
so far everything works fine.
the problem is that i don't know how the created objects could link each other, or in other words: how the objects can refer each other.
For example i could have an object of a class "person" and have at least one object of the class "car", and would like to have a reference from the person to every car the person has got, but WITHOUT using a member variable.
Has anyone an idea how to do that?
Thank you,
rabbit
huchPosted Sep 16, 2004, 4:01 AM
S_KiryazovPosted Sep 15, 2004, 9:10 AM
huchPosted Sep 15, 2004, 6:48 AM
S_KiryazovPosted Sep 14, 2004, 11:11 AM