Within my C# class is a Generic List. I would like to access the count of this list in my form.
Should I:
a) make the Generic List public
b) create a property to only access the Lists count method?
c) ??
b seems like the obvious choice but it adds a lot of extra code since it doesnt update
dynamically. I have to manually update the variable (myCount = list.count
) anytime
the list is changed.
Just a novice just looking for some advice, Thanks.