Is there a way to enumerate or simply for each into a class's member variables in .net ? I have a static class, which i want to use for holding the application settings, so while saving the settings I basically want to copy the values of the Static Class to a Instance of a class containg the same set of (non-static) variables .
SO i thought "if only I could foreach or even for() (for that matter..pun unintended) it would be easier