How to iterate using foreach on a class?

Gary Willoughby dev at nomad.so
Fri Nov 1 04:30:10 PDT 2013


I have a class which contains an array as a core collection of 
data. I want to pass an instance of this class to a foreach loop 
and iterate through the enclosed array. How do i do this? I've 
asked this before and got an answer but i can't find anything now.


More information about the Digitalmars-d-learn mailing list