Iterating through members of a class

  • Thread starter Thread starter Hananiel
  • Start date Start date
H

Hananiel

Is there a way to somehow iterate through an objects members as in :
MyClass myObject;
foreach ( object member in myObject)
DoSomeThingWith( member );

Thanks,
Hananiel
 
Charlie Williams response to your last posting of this question was what you
need.
 
Thank you. I missed it the first time.
-Hananiel
Daniel O'Connell said:
Charlie Williams response to your last posting of this question was what you
need.
 
Back
Top