I have a class:
class A { public string a = \"A-val\" , b = \"B-val\"; }
I want to print the object members by reflection
Remember when you write fields like :
public string VarName{ get; set;}
Then actually you have this code(this is what reflection see) :
private string _varName; public string get_VarName(){ .... } public void set_VarName(strig value){ .... }