c# set property value object by name using reflection code example
Example: c# object set property
myObject.GetType().GetProperty(property).SetValue(myObject, "Bob", null);
myObject.GetType().GetProperty(property).SetValue(myObject, "Bob", null);