Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
listing members of a class
I ask for a methode to listing members of a class. The names, types and values of a member of a class should be readable.
Is there any possibility to read this information at runtime and put it into a string?
Thx for response
public int Member1;
public OtherClass Member2;
public string Member3;
public int Member4(int arg);
int Member1 = 3
System.FavouriteNamespace.OtherClass Member2 = xyz
string Member3 = String of Member3
int Member4(int arg)
0 · ·