Hiya there,
I've got 100 instances of a class (<-not really...just an example) each one with a public variable...I want to loop through the instances setting each variable to a certain value...
On the other hand I've got another 100 instances of a class, with a private variable and a function that can be called to change that variables value...Again I want to loop through the instances but calling the function to set the variables value...
Which method would be faster, and is there some point in the number of instances, that a certain method is just too slow to use?
Thanks,
Uni