I have a method as following:
public void MyMethod(object obj){ // implement }
And I call it like this:
MyMethod(new { mypa
Use this one:
string area = areaObject.GetType().GetProperty("area").GetValue(areaObject, null);