C# Developers' Journal (original) (raw)

3:28p

Reflection For an hour I tried to figure something out but didn't, so here is my question.

I have an object. Object has public members of certain known type. I need to loop through all public members of that type and do stuff. How?

I found how to get instance of MemberInfo class. So freaking what? How do I get an actual member of an object?

In Delphi it was easy, it is supposed to be even easier in C#, isn't it?

(6 Comments |Comment on this)