c# set property value given anem code example Example: c# object set property myObject.GetType().GetProperty(property).SetValue(myObject, "Bob", null);