I believe if you just do
prop.SetValue(obj,null,null);
If it’s a valuetype, it’ll set it to the default value, if it’s a reference type, it’ll set it to null.
I believe if you just do
prop.SetValue(obj,null,null);
If it’s a valuetype, it’ll set it to the default value, if it’s a reference type, it’ll set it to null.