I think that the Type.GetProperties function provides exactly what you
need. (Why you need it is another matter, altogether).


On Nov 4, 12:50 am, Taner Eser <[email protected]> wrote:
> Hi all.
>
> Consider this;
>
> I have a class with bunch of properties and i would like to do exactly
> same action for each property in my class.
>
> Example;
>
> foreach(property myProperty in MyClassName.Properties)
> {
>      //Do the job!
>
> }
>
> Any suggestions?

Reply via email to