For example, would it be possible to mark a 'Man' class with the 'PetOwner' attribute, which overrides the constructor with something that creates a 'Dog' object as well as calling the 'Man' base constructor?
(And overrides 'Man's 'GoForWalk()' method to include interaction with his Dog?)
I'm quite new to Reflection, and was curious about this so I figured I may as well ask. Does this involve Reflection.Emit somehow?
I also had a look at this question, but I dont think it fully relates to what I am asking (and I dont fully understand it either).
Thanks for any help! :)
EDIT: This question looks similar to what I'm going for