Lets say I have
class Person { public Person(int age, string name) { Age = age; Name = name; } public int Age{get;set}
I think this is the proper syntax...
var myPropInfo = myType.GetProperty("MyProperty"); var myValue = myPropInfo.GetValue(myInstance, null);