public PropObj(object obj, string property) { this.obj=obj; pi=obj.GetType().GetProperty(property); }