i want to create a property into a dynamic Object, just before it is accessed.
for e.g let’s say, there is an object X. a non existing property “SomeProperty” is accessed on X as follows,
var testProperty = X.SomeProperty;
i want to create X.SomeProperty, while it is accessed.
is it possible in C# dynamics?
1 Answer