S
Snyke
Well my problem is simple:
I have a class which has a variable number of members. Lets say I have a
class Family and a variable number of FamilyMembers. Until now I used a
member of Family called members of type List<FamilyMembers> since an
array is unsuitable for the task (unless I'm much mistaken array sizes
can't be modified on runtime, can they?). Now I'm asking myself if there
isn't a better way to handle this problem, since it's a very common problem.
Thanks.
I have a class which has a variable number of members. Lets say I have a
class Family and a variable number of FamilyMembers. Until now I used a
member of Family called members of type List<FamilyMembers> since an
array is unsuitable for the task (unless I'm much mistaken array sizes
can't be modified on runtime, can they?). Now I'm asking myself if there
isn't a better way to handle this problem, since it's a very common problem.
Thanks.