4 ms·
The same can be said for setters and getters with a backing field, you can access them through reflection. I can't remember how it works for properties with imp
by flukus 9y ago
The same can be said for setters and getters with a backing field, you can access them through reflection. I can't remember how it works for properties with implicit backing fields but I thought they could be set via reflection as well?
- kevingadd 9y agoYou can find the backing field and set it, yes, but the name is at least not predictable because the compiler mangles it (which discourages doing this because getting a grip on the field is harder)